We're dividing 997907 by 39 
We want to divide 997907 by 39.

Going ahead 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
If we take 0 away from 9, we end up with 9.
Grab the next digit (9) from the dividend, add it to 9, then carry on: 99 / 39

Advancing to step 2:
39 can be fit into 99 2 times, resulting in a remainder of 21.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 78 from 99 to get 21.
Append the next digit (7) from the dividend to 21 and continue with: 217 / 39

On to step 3:
217 divided by 39 is 5 with a remainder of 22.
Use 5 as the next digit of our solution. 
Result so far: 25.0
If we take 195 away from 217, we end up with 22.
Grab the next digit (9) from the dividend, add it to 22, then carry on: 229 / 39

Let's proceed to step 4:
39 can be fit into 229 5 times, resulting in a remainder of 34.
The next digit of our result is 5. 
Result so far: 255.0
Subtract 195 from 229 to get 34.
Append the next digit (0) from the dividend to 34 and continue with: 340 / 39

Going ahead to step 5:
340 divided by 39 is 8 with a remainder of 28.
Use 8 as the next digit of our solution. 
Result so far: 2558.0
If we subtract 312 from 340, we get 28.
Bring next digit (7) of the dividend behind the 28 and repeat the process: 287 / 39

On to step 6:
The number 39 fits into 287 7 times, leaving a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 25587.0
The remainder is 14 after subtracting 273 from 287.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 7:
The number 39 fits into 140 3 times, leaving a remainder of 23.
The number 3 becomes the next digit in our result. 
Result so far: 25587.3
The remainder is 23 after subtracting 117 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 8:
The number 39 fits into 230 5 times, leaving a remainder of 35.
The number 5 becomes the next digit in our result. 
Result so far: 25587.35
Subtract 195 from 230 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 9:
39 can be fit into 350 8 times, resulting in a remainder of 38.
Record the quotient 8 as the next digit in the result. 
Result so far: 25587.358
If we subtract 312 from 350, 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.

Advancing to step 10:
When dividing 380 by 39, we get 9 with a remainder of 29.
Put 9 as the next digit of the answer. 
Result so far: 25587.3589
The remainder is 29 after subtracting 351 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 11:
39 goes into 290 7 times with a remainder of 17.
Write down 7 as next digit of the result. 
Result so far: 25587.35897
If we take 273 away from 290, we end up 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.

Going ahead to step 12:
The number 39 fits into 170 4 times, leaving a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 25587.358974
If we subtract 156 from 170, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 13:
140 divided by 39 is 3 with a remainder of 23.
Put 3 as the next digit of the answer. 
Result so far: 25587.3589743
The remainder is 23 after subtracting 117 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 14:
230 divided by 39 is 5 with a remainder of 35.
The next digit of our result is 5. 
Result so far: 25587.35897435
If we subtract 195 from 230, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

After the division, we end up with 25587.35897435 and a remainder of 3.5e-08.