We divide 838479 by 40
Our goal is to divide 838479 by 40.

Going ahead to step 1:
8 divided by 40 is 0 with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Bring next digit (3) of the dividend behind the 8 and repeat the process: 83 / 40

Moving on to step 2:
If we divide 83 by 40, we get 2 and a remainder of 3.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtracting 80 from 83 leaves us with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 40

Let's proceed to step 3:
The number 40 fits into 38 0 times, leaving a remainder of 38.
The next digit of our result is 0. 
Result so far: 20.0
Subtract 0 from 38 to get 38.
Grab the next digit (4) from the dividend, add it to 38, then carry on: 384 / 40

On to step 4:
If we divide 384 by 40, we get 9 and a remainder of 24.
Write down 9 as next digit of the result. 
Result so far: 209.0
Subtract 360 from 384 to get 24.
Fetch the next digit (7) from the dividend, attach it to 24 and continue: 247 / 40

On to step 5:
The number 40 fits into 247 6 times, leaving a remainder of 7.
Put 6 as the next digit of the answer. 
Result so far: 2096.0
Subtract 240 from 247 to get 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 40

Step 6:
40 goes into 79 1 times with a remainder of 39.
The number 1 becomes the next digit in our result. 
Result so far: 20961.0
Deduct 40 from 79 and we're left with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Going ahead to step 7:
40 can be fit into 390 9 times, resulting in a remainder of 30.
The next digit of our result is 9. 
Result so far: 20961.9
If we take 360 away from 390, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 8:
40 can be fit into 300 7 times, resulting in a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 20961.97
If we subtract 280 from 300, 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.

Step 9:
The number 40 fits into 200 5 times, leaving a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 20961.975
The remainder is 0 after subtracting 200 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 10:
0 divided by 40 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 20961.975
If we take 0 away from 0, we end up 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 11:
If we divide 0 by 40, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 20961.975
If we take 0 away from 0, we end up 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.

The quotient of the division is 20961.975, and the remainder is 0.0.