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

Advancing to step 1:
When dividing 1 by 31, we get 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 31

Moving on to step 2:
When dividing 12 by 31, we get 0 with a remainder of 12.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Append the next digit (5) from the dividend to 12 and continue with: 125 / 31

Advancing to step 3:
31 goes into 125 4 times with a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Deduct 124 from 125 and we're left with 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 31

Going ahead to step 4:
31 can be fit into 11 0 times, resulting in a remainder of 11.
Use 0 as the next digit of our solution. 
Result so far: 40.0
If we subtract 0 from 11, we get 11.
Grab the next digit (3) from the dividend, add it to 11, then carry on: 113 / 31

Going ahead to step 5:
If we divide 113 by 31, we get 3 and a remainder of 20.
Use 3 as the next digit of our solution. 
Result so far: 403.0
The remainder is 20 after subtracting 93 from 113.
Fetch the next digit (0) from the dividend, attach it to 20 and continue: 200 / 31

On to step 6:
The number 31 fits into 200 6 times, leaving a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 4036.0
Subtracting 186 from 200 leaves us 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.

Moving on to step 7:
140 divided by 31 is 4 with a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 4036.4
The remainder is 16 after subtracting 124 from 140.
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 8:
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: 4036.45
If we subtract 155 from 160, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 9:
When dividing 50 by 31, we get 1 with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 4036.451
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 10:
31 can be fit into 190 6 times, resulting in a remainder of 4.
The next digit of our result is 6. 
Result so far: 4036.4516
Deduct 186 from 190 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 11:
When dividing 40 by 31, we get 1 with a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 4036.45161
If we take 31 away from 40, we end up 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.

Going ahead to step 12:
90 divided by 31 is 2 with a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 4036.451612
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.

Going ahead to step 13:
When dividing 280 by 31, we get 9 with a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 4036.4516129
Deduct 279 from 280 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 14:
31 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 4036.4516129
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final outcome is 4036.4516129, with a leftover of 1e-08.