475147 ÷ 31 
The aim is to understand the frequency of 31 in 475147.

Moving on to step 1:
If we divide 4 by 31, we get 0 and a remainder of 4.
The next digit of our result is 0. 
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

Let's proceed to step 2:
If we divide 47 by 31, we get 1 and a remainder of 16.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 31 away from 47, we end up with 16.
Bring next digit (5) of the dividend behind the 16 and repeat the process: 165 / 31

On to step 3:
When dividing 165 by 31, we get 5 with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
Subtract 155 from 165 to get 10.
Take the next digit (1) from the dividend and append it to 10, then repeat: 101 / 31

Let's proceed to step 4:
The number 31 fits into 101 3 times, leaving a remainder of 8.
The number 3 becomes the next digit in our result. 
Result so far: 153.0
Subtracting 93 from 101 leaves us with 8.
Bring next digit (4) of the dividend behind the 8 and repeat the process: 84 / 31

Let's proceed to step 5:
The number 31 fits into 84 2 times, leaving a remainder of 22.
Use 2 as the next digit of our solution. 
Result so far: 1532.0
If we take 62 away from 84, we end up with 22.
Include the next digit (7) from the dividend after 22, then repeat: 227 / 31

Moving on to step 6:
When dividing 227 by 31, we get 7 with a remainder of 10.
Put 7 as the next digit of the answer. 
Result so far: 15327.0
Subtract 217 from 227 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 7:
31 can be fit into 100 3 times, resulting in a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 15327.3
Subtract 93 from 100 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 8:
If we divide 70 by 31, we get 2 and a remainder of 8.
The next digit of our result is 2. 
Result so far: 15327.32
If we subtract 62 from 70, 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.

On to step 9:
If we divide 80 by 31, we get 2 and a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 15327.322
If we take 62 away from 80, we end up 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 15327.322 with a remainder of 0.0018.