Let's divide 984164 by 39
We want to figure out the number of times 984164 can be divided by 39.

On to step 1:
9 divided by 39 is 0 with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 39

Going ahead to step 2:
39 goes into 98 2 times with a remainder of 20.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 78 away from 98, we end up with 20.
Take the next digit (4) from the dividend and append it to 20, then repeat: 204 / 39

On to step 3:
If we divide 204 by 39, we get 5 and a remainder of 9.
Put 5 as the next digit of the answer. 
Result so far: 25.0
Deduct 195 from 204 and we're left with 9.
Grab the next digit (1) from the dividend, add it to 9, then carry on: 91 / 39

Going ahead to step 4:
When dividing 91 by 39, we get 2 with a remainder of 13.
Write down 2 as next digit of the result. 
Result so far: 252.0
Subtract 78 from 91 to get 13.
Take the next digit (6) from the dividend and append it to 13, then repeat: 136 / 39

Let's proceed to step 5:
When dividing 136 by 39, we get 3 with a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 2523.0
Deduct 117 from 136 and we're left with 19.
Include the next digit (4) from the dividend after 19, then repeat: 194 / 39

Moving on to step 6:
The number 39 fits into 194 4 times, leaving a remainder of 38.
Use 4 as the next digit of our solution. 
Result so far: 25234.0
If we subtract 156 from 194, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Step 7:
When dividing 380 by 39, we get 9 with a remainder of 29.
Use 9 as the next digit of our solution. 
Result so far: 25234.9
If we subtract 351 from 380, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 8:
39 goes into 290 7 times with a remainder of 17.
The number 7 becomes the next digit in our result. 
Result so far: 25234.97
Deduct 273 from 290 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 9:
The number 39 fits into 170 4 times, leaving a remainder of 14.
Put 4 as the next digit of the answer. 
Result so far: 25234.974
Subtracting 156 from 170 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 10:
39 goes into 140 3 times with a remainder of 23.
Record the quotient 3 as the next digit in the result. 
Result so far: 25234.9743
Deduct 117 from 140 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Step 11:
If we divide 230 by 39, we get 5 and a remainder of 35.
Write down 5 as next digit of the result. 
Result so far: 25234.97435
The remainder is 35 after subtracting 195 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Moving on to step 12:
350 divided by 39 is 8 with a remainder of 38.
The next digit of our result is 8. 
Result so far: 25234.974358
If we take 312 away from 350, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 13:
The number 39 fits into 380 9 times, leaving a remainder of 29.
Put 9 as the next digit of the answer. 
Result so far: 25234.9743589
If we take 351 away from 380, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Step 14:
290 divided by 39 is 7 with a remainder of 17.
The next digit of our result is 7. 
Result so far: 25234.97435897
The remainder is 17 after subtracting 273 from 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

The quotient of the division is 25234.97435897, and the remainder is 1.7e-08.