Let's divide 160785 by 39
Our goal is to divide 160785 by 39.

On to step 1:
The number 39 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 39

Advancing to step 2:
39 goes into 16 0 times with a remainder of 16.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 16 after subtracting 0 from 16.
Grab the next digit (0) from the dividend, add it to 16, then carry on: 160 / 39

Moving on to step 3:
160 divided by 39 is 4 with a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 4.0
The remainder is 4 after subtracting 156 from 160.
Bring next digit (7) of the dividend behind the 4 and repeat the process: 47 / 39

Advancing to step 4:
39 goes into 47 1 times with a remainder of 8.
The next digit of our result is 1. 
Result so far: 41.0
Deduct 39 from 47 and we're left with 8.
Append the next digit (8) from the dividend to 8 and continue with: 88 / 39

On to step 5:
If we divide 88 by 39, we get 2 and a remainder of 10.
Record the quotient 2 as the next digit in the result. 
Result so far: 412.0
If we take 78 away from 88, we end up with 10.
Take the next digit (5) from the dividend and append it to 10, then repeat: 105 / 39

Step 6:
39 can be fit into 105 2 times, resulting in a remainder of 27.
Write down 2 as next digit of the result. 
Result so far: 4122.0
Deduct 78 from 105 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 7:
The number 39 fits into 270 6 times, leaving a remainder of 36.
Use 6 as the next digit of our solution. 
Result so far: 4122.6
Deduct 234 from 270 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 8:
The number 39 fits into 360 9 times, leaving a remainder of 9.
The number 9 becomes the next digit in our result. 
Result so far: 4122.69
If we take 351 away from 360, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 9:
When dividing 90 by 39, we get 2 with a remainder of 12.
Write down 2 as next digit of the result. 
Result so far: 4122.692
Subtract 78 from 90 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 10:
If we divide 120 by 39, we get 3 and a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 4122.6923
Subtracting 117 from 120 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 11:
The number 39 fits into 30 0 times, leaving a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 4122.6923
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 12:
When dividing 300 by 39, we get 7 with a remainder of 27.
Write down 7 as next digit of the result. 
Result so far: 4122.692307
If we take 273 away from 300, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 13:
When dividing 270 by 39, we get 6 with a remainder of 36.
The next digit of our result is 6. 
Result so far: 4122.6923076
Subtract 234 from 270 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 14:
When dividing 360 by 39, we get 9 with a remainder of 9.
Put 9 as the next digit of the answer. 
Result so far: 4122.69230769
The remainder is 9 after subtracting 351 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Our division results in 4122.69230769 with a remaining 9e-09.