842536 divided by 40 
Let's see how many times 40 fits into 842536.

Moving on to step 1:
8 divided by 40 is 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Include the next digit (4) from the dividend after 8, then repeat: 84 / 40

Going ahead to step 2:
40 can be fit into 84 2 times, resulting in a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
The remainder is 4 after subtracting 80 from 84.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 40

On to step 3:
40 goes into 42 1 times with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 21.0
Deduct 40 from 42 and we're left with 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 40

On to step 4:
40 goes into 25 0 times with a remainder of 25.
Write down 0 as next digit of the result. 
Result so far: 210.0
If we take 0 away from 25, we end up with 25.
Take the next digit (3) from the dividend and append it to 25, then repeat: 253 / 40

Moving on to step 5:
40 goes into 253 6 times with a remainder of 13.
Write down 6 as next digit of the result. 
Result so far: 2106.0
Subtract 240 from 253 to get 13.
Grab the next digit (6) from the dividend, add it to 13, then carry on: 136 / 40

On to step 6:
136 divided by 40 is 3 with a remainder of 16.
Record the quotient 3 as the next digit in the result. 
Result so far: 21063.0
If we take 120 away from 136, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 7:
40 goes into 160 4 times with a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 21063.4
Subtract 160 from 160 to 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.

On to step 8:
When dividing 0 by 40, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 21063.4
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.

Let's proceed to step 9:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 21063.4
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.

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