997645 divided by 39 
We want to divide 997645 by 39.

Step 1:
9 divided by 39 is 0 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.
Include the next digit (9) from the dividend after 9, then repeat: 99 / 39

Advancing to step 2:
99 divided by 39 is 2 with a remainder of 21.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 78 from 99 to get 21.
Fetch the next digit (7) from the dividend, attach it to 21 and continue: 217 / 39

Step 3:
The number 39 fits into 217 5 times, leaving a remainder of 22.
Write down 5 as next digit of the result. 
Result so far: 25.0
If we subtract 195 from 217, we get 22.
Include the next digit (6) from the dividend after 22, then repeat: 226 / 39

Going ahead to step 4:
If we divide 226 by 39, we get 5 and a remainder of 31.
Put 5 as the next digit of the answer. 
Result so far: 255.0
Subtract 195 from 226 to get 31.
Fetch the next digit (4) from the dividend, attach it to 31 and continue: 314 / 39

Let's proceed to step 5:
314 divided by 39 is 8 with a remainder of 2.
The next digit of our result is 8. 
Result so far: 2558.0
Subtracting 312 from 314 leaves us with 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 39

Let's proceed to step 6:
When dividing 25 by 39, we get 0 with a remainder of 25.
Record the quotient 0 as the next digit in the result. 
Result so far: 25580.0
The remainder is 25 after subtracting 0 from 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 7:
39 goes into 250 6 times with a remainder of 16.
Record the quotient 6 as the next digit in the result. 
Result so far: 25580.6
Subtracting 234 from 250 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 8:
39 can be fit into 160 4 times, resulting in a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 25580.64
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.

Going ahead to step 9:
If we divide 40 by 39, we get 1 and a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 25580.641
Deduct 39 from 40 and we're left 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.

On to step 10:
When dividing 10 by 39, we get 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 25580.641
If we take 0 away from 10, we end up with 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 11:
When dividing 100 by 39, we get 2 with a remainder of 22.
Put 2 as the next digit of the answer. 
Result so far: 25580.64102
Subtract 78 from 100 to get 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 12:
39 can be fit into 220 5 times, resulting in a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 25580.641025
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 13:
250 divided by 39 is 6 with a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 25580.6410256
If we take 234 away from 250, we end up with 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 14:
The number 39 fits into 160 4 times, leaving a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 25580.64102564
The remainder is 4 after subtracting 156 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 25580.64102564 with a remaining 4e-09.