We look at the division of 477067 by 31 
We want to divide 477067 by 31.

On to step 1:
If we divide 4 by 31, we get 0 and a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Bring next digit (7) of the dividend behind the 4 and repeat the process: 47 / 31

Moving on to step 2:
If we divide 47 by 31, we get 1 and a remainder of 16.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 31 from 47 to get 16.
Include the next digit (7) from the dividend after 16, then repeat: 167 / 31

Moving on to step 3:
167 divided by 31 is 5 with a remainder of 12.
Write down 5 as next digit of the result. 
Result so far: 15.0
Subtracting 155 from 167 leaves us with 12.
Grab the next digit (0) from the dividend, add it to 12, then carry on: 120 / 31

Moving on to step 4:
If we divide 120 by 31, we get 3 and a remainder of 27.
The next digit of our result is 3. 
Result so far: 153.0
If we subtract 93 from 120, we get 27.
Grab the next digit (6) from the dividend, add it to 27, then carry on: 276 / 31

Moving on to step 5:
If we divide 276 by 31, we get 8 and a remainder of 28.
Put 8 as the next digit of the answer. 
Result so far: 1538.0
If we subtract 248 from 276, we get 28.
Take the next digit (7) from the dividend and append it to 28, then repeat: 287 / 31

Let's proceed to step 6:
287 divided by 31 is 9 with a remainder of 8.
The number 9 becomes the next digit in our result. 
Result so far: 15389.0
If we subtract 279 from 287, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 7:
80 divided by 31 is 2 with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 15389.2
Deduct 62 from 80 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 8:
The number 31 fits into 180 5 times, leaving a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 15389.25
Deduct 155 from 180 and we're left 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.

Step 9:
If we divide 250 by 31, we get 8 and a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 15389.258
Subtract 248 from 250 to 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.

Going ahead to step 10:
If we divide 20 by 31, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 15389.258
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 11:
31 can be fit into 200 6 times, resulting in a remainder of 14.
Use 6 as the next digit of our solution. 
Result so far: 15389.25806
Deduct 186 from 200 and we're left 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 12:
When dividing 140 by 31, we get 4 with a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 15389.258064
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.

On to step 13:
31 goes into 160 5 times with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 15389.2580645
Subtracting 155 from 160 leaves us 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.

On to step 14:
When dividing 50 by 31, we get 1 with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 15389.25806451
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.

The quotient of the division is 15389.25806451, and the remainder is 1.9e-08.