We look at the division of 572841 by 40 
We want to figure out the number of times 572841 can be divided by 40.

Step 1:
The number 40 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Bring next digit (7) of the dividend behind the 5 and repeat the process: 57 / 40

Step 2:
40 can be fit into 57 1 times, resulting in a remainder of 17.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 40 away from 57, we end up with 17.
Fetch the next digit (2) from the dividend, attach it to 17 and continue: 172 / 40

Going ahead to step 3:
40 goes into 172 4 times with a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
Subtract 160 from 172 to get 12.
Append the next digit (8) from the dividend to 12 and continue with: 128 / 40

Going ahead to step 4:
40 can be fit into 128 3 times, resulting in a remainder of 8.
Record the quotient 3 as the next digit in the result. 
Result so far: 143.0
Deduct 120 from 128 and we're left with 8.
Take the next digit (4) from the dividend and append it to 8, then repeat: 84 / 40

Step 5:
If we divide 84 by 40, we get 2 and a remainder of 4.
The next digit of our result is 2. 
Result so far: 1432.0
If we take 80 away from 84, we end up with 4.
Fetch the next digit (1) from the dividend, attach it to 4 and continue: 41 / 40

Going ahead to step 6:
40 goes into 41 1 times with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 14321.0
The remainder is 1 after subtracting 40 from 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
10 divided by 40 is 0 with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 14321.0
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
The number 40 fits into 100 2 times, leaving a remainder of 20.
The next digit of our result is 2. 
Result so far: 14321.02
If we subtract 80 from 100, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
40 can be fit into 200 5 times, resulting in a remainder of 0.
The next digit of our result is 5. 
Result so far: 14321.025
Subtracting 200 from 200 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 10:
40 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 14321.025
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 11:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 14321.025
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 14321.025 with a balance of 0.0.