We divide 477099 by 31
The aim is to understand the frequency of 31 in 477099.

Going ahead to step 1:
When dividing 4 by 31, we get 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (7) from the dividend, add it to 4, then carry on: 47 / 31

Going ahead to step 2:
The number 31 fits into 47 1 times, leaving 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 can be fit into 167 5 times, resulting in a remainder of 12.
Use 5 as the next digit of our solution. 
Result so far: 15.0
If we subtract 155 from 167, we get 12.
Fetch the next digit (0) from the dividend, attach it to 12 and continue: 120 / 31

Step 4:
31 goes into 120 3 times with a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 153.0
Subtracting 93 from 120 leaves us with 27.
Grab the next digit (9) from the dividend, add it to 27, then carry on: 279 / 31

On to step 5:
31 goes into 279 9 times with a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 1539.0
Subtract 279 from 279 to get 0.
Grab the next digit (9) from the dividend, add it to 0, then carry on: 9 / 31

Advancing to step 6:
If we divide 9 by 31, we get 0 and a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 15390.0
Deduct 0 from 9 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.

On to step 7:
If we divide 90 by 31, we get 2 and a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 15390.2
The remainder is 28 after subtracting 62 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 8:
If we divide 280 by 31, we get 9 and a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 15390.29
The remainder is 1 after subtracting 279 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 9:
31 goes into 10 0 times with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 15390.29
If we subtract 0 from 10, we 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 10:
31 goes into 100 3 times with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 15390.2903
If we subtract 93 from 100, we 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.

Moving on to step 11:
If we divide 70 by 31, we get 2 and a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 15390.29032
The remainder is 8 after subtracting 62 from 70.
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 12:
The number 31 fits into 80 2 times, leaving a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 15390.290322
The remainder is 18 after subtracting 62 from 80.
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 15390.290322 with a remainder of 1.8e-06.