We look at the division of 30247013 by 31 
The aim is to understand the frequency of 31 in 30247013.

Moving on to step 1:
31 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Bring next digit (0) of the dividend behind the 3 and repeat the process: 30 / 31

Let's proceed to step 2:
31 goes into 30 0 times with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 30 to get 30.
Append the next digit (2) from the dividend to 30 and continue with: 302 / 31

Let's proceed to step 3:
The number 31 fits into 302 9 times, leaving a remainder of 23.
The next digit of our result is 9. 
Result so far: 9.0
If we take 279 away from 302, we end up with 23.
Bring next digit (4) of the dividend behind the 23 and repeat the process: 234 / 31

On to step 4:
If we divide 234 by 31, we get 7 and a remainder of 17.
Record the quotient 7 as the next digit in the result. 
Result so far: 97.0
The remainder is 17 after subtracting 217 from 234.
Append the next digit (7) from the dividend to 17 and continue with: 177 / 31

Step 5:
31 goes into 177 5 times with a remainder of 22.
Record the quotient 5 as the next digit in the result. 
Result so far: 975.0
Subtract 155 from 177 to get 22.
Grab the next digit (0) from the dividend, add it to 22, then carry on: 220 / 31

Step 6:
If we divide 220 by 31, we get 7 and a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 9757.0
Subtracting 217 from 220 leaves us with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 31

Going ahead to step 7:
When dividing 31 by 31, we get 1 with a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 97571.0
Subtracting 31 from 31 leaves us with 0.
Take the next digit (3) from the dividend and append it to 0, then repeat: 3 / 31

On to step 8:
31 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 975710.0
The remainder is 3 after subtracting 0 from 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 9:
31 can be fit into 30 0 times, resulting in a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 975710.0
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 10:
31 can be fit into 300 9 times, resulting in a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 975710.09
Subtracting 279 from 300 leaves us with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 11:
The number 31 fits into 210 6 times, leaving a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 975710.096
Subtract 186 from 210 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 12:
240 divided by 31 is 7 with a remainder of 23.
Write down 7 as next digit of the result. 
Result so far: 975710.0967
If we take 217 away from 240, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 13:
31 can be fit into 230 7 times, resulting in a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 975710.09677
If we subtract 217 from 230, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The quotient of the division is 975710.09677, and the remainder is 1.3e-05.