We're dividing 555125 by 31 
The aim is to understand the frequency of 31 in 555125.

On to step 1:
5 divided by 31 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (5) from the dividend, add it to 5, then carry on: 55 / 31

Step 2:
31 can be fit into 55 1 times, resulting in a remainder of 24.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 31 from 55, we get 24.
Grab the next digit (5) from the dividend, add it to 24, then carry on: 245 / 31

Let's proceed to step 3:
31 goes into 245 7 times with a remainder of 28.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
Deduct 217 from 245 and we're left with 28.
Append the next digit (1) from the dividend to 28 and continue with: 281 / 31

Moving on to step 4:
31 goes into 281 9 times with a remainder of 2.
The next digit of our result is 9. 
Result so far: 179.0
If we subtract 279 from 281, we get 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 31

Going ahead to step 5:
The number 31 fits into 22 0 times, leaving a remainder of 22.
Record the quotient 0 as the next digit in the result. 
Result so far: 1790.0
Subtract 0 from 22 to get 22.
Append the next digit (5) from the dividend to 22 and continue with: 225 / 31

Let's proceed to step 6:
225 divided by 31 is 7 with a remainder of 8.
Record the quotient 7 as the next digit in the result. 
Result so far: 17907.0
Subtract 217 from 225 to 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 7:
If we divide 80 by 31, we get 2 and a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 17907.2
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.

On to step 8:
When dividing 180 by 31, we get 5 with a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 17907.25
Subtract 155 from 180 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 9:
The number 31 fits into 250 8 times, leaving a remainder of 2.
The next digit of our result is 8. 
Result so far: 17907.258
Subtracting 248 from 250 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 10:
31 can be fit into 20 0 times, resulting in a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 17907.258
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 11:
When dividing 200 by 31, we get 6 with a remainder of 14.
The next digit of our result is 6. 
Result so far: 17907.25806
If we take 186 away from 200, we end up 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.

Going ahead to step 12:
31 can be fit into 140 4 times, resulting in a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 17907.258064
Subtract 124 from 140 to 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.

Advancing to step 13:
When dividing 160 by 31, we get 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 17907.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:
If we divide 50 by 31, we get 1 and a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 17907.25806451
Subtracting 31 from 50 leaves us with 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 final result is 17907.25806451 with a remainder of 1.9e-08.