We divide 477642 by 31
Let's see how many times 31 fits into 477642.

Advancing to step 1:
The number 31 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Grab the next digit (7) from the dividend, add it to 4, then carry on: 47 / 31

Advancing to step 2:
If we divide 47 by 31, we get 1 and a remainder of 16.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 31 from 47 and we're left with 16.
Include the next digit (7) from the dividend after 16, then repeat: 167 / 31

Going ahead to step 3:
31 goes into 167 5 times with a remainder of 12.
Put 5 as the next digit of the answer. 
Result so far: 15.0
Subtracting 155 from 167 leaves us with 12.
Bring next digit (6) of the dividend behind the 12 and repeat the process: 126 / 31

Step 4:
126 divided by 31 is 4 with a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 154.0
Subtracting 124 from 126 leaves us with 2.
Take the next digit (4) from the dividend and append it to 2, then repeat: 24 / 31

Let's proceed to step 5:
31 can be fit into 24 0 times, resulting in a remainder of 24.
Record the quotient 0 as the next digit in the result. 
Result so far: 1540.0
If we subtract 0 from 24, we get 24.
Bring next digit (2) of the dividend behind the 24 and repeat the process: 242 / 31

Advancing to step 6:
The number 31 fits into 242 7 times, leaving a remainder of 25.
The next digit of our result is 7. 
Result so far: 15407.0
Subtracting 217 from 242 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 7:
When dividing 250 by 31, we get 8 with a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 15407.8
If we subtract 248 from 250, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 8:
31 goes into 20 0 times with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 15407.8
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 9:
If we divide 200 by 31, we get 6 and a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 15407.806
Subtracting 186 from 200 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.

Step 10:
140 divided by 31 is 4 with a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 15407.8064
If we subtract 124 from 140, 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.

Moving on to step 11:
160 divided by 31 is 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 15407.80645
Deduct 155 from 160 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 12:
When dividing 50 by 31, we get 1 with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 15407.806451
If we subtract 31 from 50, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 13:
The number 31 fits into 190 6 times, leaving a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 15407.8064516
Deduct 186 from 190 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 14:
When dividing 40 by 31, we get 1 with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 15407.80645161
Deduct 31 from 40 and we're left 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.

The final outcome is 15407.80645161, with a leftover of 9e-09.