We divide 34165589 by 840
Our goal is to divide 34165589 by 840.

Advancing to step 1:
840 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (4) from the dividend, attach it to 3 and continue: 34 / 840

Going ahead to step 2:
When dividing 34 by 840, we get 0 with a remainder of 34.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 34 to get 34.
Fetch the next digit (1) from the dividend, attach it to 34 and continue: 341 / 840

Moving on to step 3:
840 goes into 341 0 times with a remainder of 341.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 341, we get 341.
Append the next digit (6) from the dividend to 341 and continue with: 3416 / 840

Going ahead to step 4:
840 can be fit into 3416 4 times, resulting in a remainder of 56.
Write down 4 as next digit of the result. 
Result so far: 4.0
The remainder is 56 after subtracting 3360 from 3416.
Append the next digit (5) from the dividend to 56 and continue with: 565 / 840

Step 5:
840 goes into 565 0 times with a remainder of 565.
Use 0 as the next digit of our solution. 
Result so far: 40.0
Subtract 0 from 565 to get 565.
Include the next digit (5) from the dividend after 565, then repeat: 5655 / 840

On to step 6:
840 can be fit into 5655 6 times, resulting in a remainder of 615.
Write down 6 as next digit of the result. 
Result so far: 406.0
Subtract 5040 from 5655 to get 615.
Take the next digit (8) from the dividend and append it to 615, then repeat: 6158 / 840

Going ahead to step 7:
If we divide 6158 by 840, we get 7 and a remainder of 278.
Record the quotient 7 as the next digit in the result. 
Result so far: 4067.0
The remainder is 278 after subtracting 5880 from 6158.
Include the next digit (9) from the dividend after 278, then repeat: 2789 / 840

Step 8:
840 can be fit into 2789 3 times, resulting in a remainder of 269.
The number 3 becomes the next digit in our result. 
Result so far: 40673.0
If we take 2520 away from 2789, we end up with 269.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2690, and continue the process.

Going ahead to step 9:
The number 840 fits into 2690 3 times, leaving a remainder of 170.
Write down 3 as next digit of the result. 
Result so far: 40673.3
Subtracting 2520 from 2690 leaves us with 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Advancing to step 10:
840 goes into 1700 2 times with a remainder of 20.
Put 2 as the next digit of the answer. 
Result so far: 40673.32
Deduct 1680 from 1700 and we're left with 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 11:
When dividing 200 by 840, we get 0 with a remainder of 200.
Use 0 as the next digit of our solution. 
Result so far: 40673.32
Subtract 0 from 200 to get 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

On to step 12:
When dividing 2000 by 840, we get 2 with a remainder of 320.
The next digit of our result is 2. 
Result so far: 40673.3202
Deduct 1680 from 2000 and we're left with 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Going ahead to step 13:
840 can be fit into 3200 3 times, resulting in a remainder of 680.
The number 3 becomes the next digit in our result. 
Result so far: 40673.32023
Subtract 2520 from 3200 to get 680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6800, and continue the process.

Let's proceed to step 14:
The number 840 fits into 6800 8 times, leaving a remainder of 80.
The number 8 becomes the next digit in our result. 
Result so far: 40673.320238
If we take 6720 away from 6800, we end up with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Going ahead to step 15:
When dividing 800 by 840, we get 0 with a remainder of 800.
Use 0 as the next digit of our solution. 
Result so far: 40673.320238
Subtract 0 from 800 to get 800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8000, and continue the process.

Advancing to step 16:
8000 divided by 840 is 9 with a remainder of 440.
The next digit of our result is 9. 
Result so far: 40673.32023809
Subtract 7560 from 8000 to get 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4400, and continue the process.

The quotient of the division is 40673.32023809, and the remainder is 4.4e-07.