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

Let's proceed to step 1:
39 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 39

Step 2:
39 goes into 33 0 times with a remainder of 33.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 33, we get 33.
Bring next digit (1) of the dividend behind the 33 and repeat the process: 331 / 39

Advancing to step 3:
If we divide 331 by 39, we get 8 and a remainder of 19.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Subtract 312 from 331 to get 19.
Include the next digit (7) from the dividend after 19, then repeat: 197 / 39

Let's proceed to step 4:
When dividing 197 by 39, we get 5 with a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 85.0
If we take 195 away from 197, we end up with 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 39

Going ahead to step 5:
39 goes into 21 0 times with a remainder of 21.
Put 0 as the next digit of the answer. 
Result so far: 850.0
If we subtract 0 from 21, we get 21.
Grab the next digit (2) from the dividend, add it to 21, then carry on: 212 / 39

Moving on to step 6:
The number 39 fits into 212 5 times, leaving a remainder of 17.
Use 5 as the next digit of our solution. 
Result so far: 8505.0
Deduct 195 from 212 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.

On to step 7:
39 goes into 170 4 times with a remainder of 14.
Record the quotient 4 as the next digit in the result. 
Result so far: 8505.4
The remainder is 14 after subtracting 156 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 8:
The number 39 fits into 140 3 times, leaving a remainder of 23.
Use 3 as the next digit of our solution. 
Result so far: 8505.43
Subtract 117 from 140 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 9:
230 divided by 39 is 5 with a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 8505.435
Deduct 195 from 230 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 10:
If we divide 350 by 39, we get 8 and a remainder of 38.
The next digit of our result is 8. 
Result so far: 8505.4358
Deduct 312 from 350 and we're left 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 11:
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: 8505.43589
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.

Going ahead to step 12:
When dividing 290 by 39, we get 7 with a remainder of 17.
The next digit of our result is 7. 
Result so far: 8505.435897
Subtracting 273 from 290 leaves us 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.

Step 13:
39 can be fit into 170 4 times, resulting in a remainder of 14.
Put 4 as the next digit of the answer. 
Result so far: 8505.4358974
Subtract 156 from 170 to 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.

Let's proceed to step 14:
When dividing 140 by 39, we get 3 with a remainder of 23.
Put 3 as the next digit of the answer. 
Result so far: 8505.43589743
Subtracting 117 from 140 leaves us 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.

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