We look at the division of 470742 by 31 
We want to figure out the number of times 470742 can be divided by 31.

Going ahead to step 1:
If we divide 4 by 31, we get 0 and a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 31

Step 2:
The number 31 fits into 47 1 times, leaving a remainder of 16.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 31 from 47 leaves us with 16.
Take the next digit (0) from the dividend and append it to 16, then repeat: 160 / 31

Let's proceed to step 3:
When dividing 160 by 31, we get 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 15.0
If we take 155 away from 160, we end up with 5.
Append the next digit (7) from the dividend to 5 and continue with: 57 / 31

Step 4:
31 goes into 57 1 times with a remainder of 26.
Record the quotient 1 as the next digit in the result. 
Result so far: 151.0
Deduct 31 from 57 and we're left with 26.
Grab the next digit (4) from the dividend, add it to 26, then carry on: 264 / 31

Step 5:
If we divide 264 by 31, we get 8 and a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 1518.0
If we subtract 248 from 264, we get 16.
Take the next digit (2) from the dividend and append it to 16, then repeat: 162 / 31

Advancing to step 6:
31 goes into 162 5 times with a remainder of 7.
The next digit of our result is 5. 
Result so far: 15185.0
If we take 155 away from 162, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 7:
When dividing 70 by 31, we get 2 with a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 15185.2
If we take 62 away from 70, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 8:
When dividing 80 by 31, we get 2 with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 15185.22
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.

The final result is 15185.22 with a remainder of 0.018.