We're dividing 470087 by 31 
We're looking to find how many times 31 goes into 470087.

Let's proceed to step 1:
31 can be fit into 4 0 times, resulting in a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Append the next digit (7) from the dividend to 4 and continue with: 47 / 31

Going ahead to step 2:
31 goes into 47 1 times with a remainder of 16.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 31 from 47 and we're left with 16.
Grab the next digit (0) from the dividend, add it to 16, then carry on: 160 / 31

Going ahead to step 3:
When dividing 160 by 31, we get 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 15.0
Deduct 155 from 160 and we're left with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 31

On to step 4:
50 divided by 31 is 1 with a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 151.0
The remainder is 19 after subtracting 31 from 50.
Include the next digit (8) from the dividend after 19, then repeat: 198 / 31

Moving on to step 5:
198 divided by 31 is 6 with a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 1516.0
Subtract 186 from 198 to get 12.
Include the next digit (7) from the dividend after 12, then repeat: 127 / 31

Advancing to step 6:
When dividing 127 by 31, we get 4 with a remainder of 3.
The next digit of our result is 4. 
Result so far: 15164.0
If we subtract 124 from 127, we get 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 7:
The number 31 fits into 30 0 times, leaving a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 15164.0
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 8:
31 can be fit into 300 9 times, resulting in a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 15164.09
Deduct 279 from 300 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 9:
When dividing 210 by 31, we get 6 with a remainder of 24.
The next digit of our result is 6. 
Result so far: 15164.096
If we take 186 away from 210, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 10:
When dividing 240 by 31, we get 7 with a remainder of 23.
The next digit of our result is 7. 
Result so far: 15164.0967
Subtracting 217 from 240 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 11:
31 goes into 230 7 times with a remainder of 13.
The next digit of our result is 7. 
Result so far: 15164.09677
Subtracting 217 from 230 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The final outcome is 15164.09677, with a leftover of 1.3e-05.