We divide 40784134 by 840
We want to figure out the number of times 40784134 can be divided by 840.

On to step 1:
840 goes into 4 0 times with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 840

Let's proceed to step 2:
When dividing 40 by 840, we get 0 with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Bring next digit (7) of the dividend behind the 40 and repeat the process: 407 / 840

Step 3:
When dividing 407 by 840, we get 0 with a remainder of 407.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 407 after subtracting 0 from 407.
Append the next digit (8) from the dividend to 407 and continue with: 4078 / 840

Step 4:
4078 divided by 840 is 4 with a remainder of 718.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 3360 from 4078 leaves us with 718.
Include the next digit (4) from the dividend after 718, then repeat: 7184 / 840

Advancing to step 5:
The number 840 fits into 7184 8 times, leaving a remainder of 464.
Put 8 as the next digit of the answer. 
Result so far: 48.0
Deduct 6720 from 7184 and we're left with 464.
Grab the next digit (1) from the dividend, add it to 464, then carry on: 4641 / 840

Let's proceed to step 6:
When dividing 4641 by 840, we get 5 with a remainder of 441.
Put 5 as the next digit of the answer. 
Result so far: 485.0
If we take 4200 away from 4641, we end up with 441.
Fetch the next digit (3) from the dividend, attach it to 441 and continue: 4413 / 840

On to step 7:
4413 divided by 840 is 5 with a remainder of 213.
The next digit of our result is 5. 
Result so far: 4855.0
If we subtract 4200 from 4413, we get 213.
Bring next digit (4) of the dividend behind the 213 and repeat the process: 2134 / 840

Advancing to step 8:
If we divide 2134 by 840, we get 2 and a remainder of 454.
The next digit of our result is 2. 
Result so far: 48552.0
Subtracting 1680 from 2134 leaves us with 454.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4540, and continue the process.

Advancing to step 9:
4540 divided by 840 is 5 with a remainder of 340.
Put 5 as the next digit of the answer. 
Result so far: 48552.5
The remainder is 340 after subtracting 4200 from 4540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

Moving on to step 10:
840 goes into 3400 4 times with a remainder of 40.
Write down 4 as next digit of the result. 
Result so far: 48552.54
If we take 3360 away from 3400, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 11:
400 divided by 840 is 0 with a remainder of 400.
Record the quotient 0 as the next digit in the result. 
Result so far: 48552.54
Deduct 0 from 400 and we're left with 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

Going ahead to step 12:
When dividing 4000 by 840, we get 4 with a remainder of 640.
Use 4 as the next digit of our solution. 
Result so far: 48552.5404
Subtracting 3360 from 4000 leaves us with 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6400, and continue the process.

Advancing to step 13:
6400 divided by 840 is 7 with a remainder of 520.
Write down 7 as next digit of the result. 
Result so far: 48552.54047
The remainder is 520 after subtracting 5880 from 6400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5200, and continue the process.

Advancing to step 14:
840 can be fit into 5200 6 times, resulting in a remainder of 160.
The next digit of our result is 6. 
Result so far: 48552.540476
If we take 5040 away from 5200, we end up with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

On to step 15:
The number 840 fits into 1600 1 times, leaving a remainder of 760.
The next digit of our result is 1. 
Result so far: 48552.5404761
Deduct 840 from 1600 and we're left with 760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7600, and continue the process.

Step 16:
The number 840 fits into 7600 9 times, leaving a remainder of 40.
The number 9 becomes the next digit in our result. 
Result so far: 48552.54047619
The remainder is 40 after subtracting 7560 from 7600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

The quotient of the division is 48552.54047619, and the remainder is 4e-08.