Let's divide 997777 by 39
We want to divide 997777 by 39.

Step 1:
39 goes into 9 0 times with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Append the next digit (9) from the dividend to 9 and continue with: 99 / 39

On to step 2:
39 can be fit into 99 2 times, resulting in a remainder of 21.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 78 from 99, we get 21.
Take the next digit (7) from the dividend and append it to 21, then repeat: 217 / 39

On to step 3:
When dividing 217 by 39, we get 5 with a remainder of 22.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
Deduct 195 from 217 and we're left with 22.
Bring next digit (7) of the dividend behind the 22 and repeat the process: 227 / 39

Moving on to step 4:
If we divide 227 by 39, we get 5 and a remainder of 32.
The number 5 becomes the next digit in our result. 
Result so far: 255.0
If we subtract 195 from 227, we get 32.
Grab the next digit (7) from the dividend, add it to 32, then carry on: 327 / 39

Step 5:
39 goes into 327 8 times with a remainder of 15.
The next digit of our result is 8. 
Result so far: 2558.0
The remainder is 15 after subtracting 312 from 327.
Bring next digit (7) of the dividend behind the 15 and repeat the process: 157 / 39

Moving on to step 6:
157 divided by 39 is 4 with a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 25584.0
If we subtract 156 from 157, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 7:
39 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 25584.0
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
If we divide 100 by 39, we get 2 and a remainder of 22.
Use 2 as the next digit of our solution. 
Result so far: 25584.02
Deduct 78 from 100 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 9:
39 goes into 220 5 times with a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 25584.025
Subtracting 195 from 220 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 10:
39 goes into 250 6 times with a remainder of 16.
The next digit of our result is 6. 
Result so far: 25584.0256
If we subtract 234 from 250, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 11:
When dividing 160 by 39, we get 4 with a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 25584.02564
Deduct 156 from 160 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 12:
The number 39 fits into 40 1 times, leaving a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 25584.025641
If we take 39 away from 40, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 13:
39 can be fit into 10 0 times, resulting in a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 25584.025641
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 14:
39 can be fit into 100 2 times, resulting in a remainder of 22.
Put 2 as the next digit of the answer. 
Result so far: 25584.02564102
Subtracting 78 from 100 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

In conclusion, the division gives 25584.02564102 with a balance of 2.2e-08.