We divide 31457 by 39
We're looking to find how many times 39 goes into 31457.

On to step 1:
3 divided by 39 is 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 39

On to step 2:
39 can be fit into 31 0 times, resulting in a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Fetch the next digit (4) from the dividend, attach it to 31 and continue: 314 / 39

Let's proceed to step 3:
If we divide 314 by 39, we get 8 and a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 8.0
The remainder is 2 after subtracting 312 from 314.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 39

Moving on to step 4:
25 divided by 39 is 0 with a remainder of 25.
Put 0 as the next digit of the answer. 
Result so far: 80.0
Subtracting 0 from 25 leaves us with 25.
Bring next digit (7) of the dividend behind the 25 and repeat the process: 257 / 39

Going ahead to step 5:
257 divided by 39 is 6 with a remainder of 23.
Use 6 as the next digit of our solution. 
Result so far: 806.0
Subtracting 234 from 257 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.

Going ahead to step 6:
230 divided by 39 is 5 with a remainder of 35.
The next digit of our result is 5. 
Result so far: 806.5
Subtracting 195 from 230 leaves us 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.

Going ahead to step 7:
If we divide 350 by 39, we get 8 and a remainder of 38.
The number 8 becomes the next digit in our result. 
Result so far: 806.58
If we take 312 away from 350, we end up 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.

Let's proceed to step 8:
39 goes into 380 9 times with a remainder of 29.
The next digit of our result is 9. 
Result so far: 806.589
If we take 351 away from 380, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Step 9:
The number 39 fits into 290 7 times, leaving a remainder of 17.
The number 7 becomes the next digit in our result. 
Result so far: 806.5897
Deduct 273 from 290 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 10:
When dividing 170 by 39, we get 4 with a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 806.58974
Subtracting 156 from 170 leaves us with 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 11:
140 divided by 39 is 3 with a remainder of 23.
The next digit of our result is 3. 
Result so far: 806.589743
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.

Moving on to step 12:
39 goes into 230 5 times with a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 806.5897435
Subtracting 195 from 230 leaves us 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.

Step 13:
350 divided by 39 is 8 with a remainder of 38.
Write down 8 as next digit of the result. 
Result so far: 806.58974358
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.

The quotient of the division is 806.58974358, and the remainder is 3.8e-08.