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

Let's proceed to step 1:
9 divided by 31 is 0 with a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Append the next digit (0) from the dividend to 9 and continue with: 90 / 31

Let's proceed to step 2:
31 can be fit into 90 2 times, resulting in a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 62 from 90, we get 28.
Bring next digit (8) of the dividend behind the 28 and repeat the process: 288 / 31

Moving on to step 3:
The number 31 fits into 288 9 times, leaving a remainder of 9.
The number 9 becomes the next digit in our result. 
Result so far: 29.0
If we take 279 away from 288, we end up with 9.
Take the next digit (6) from the dividend and append it to 9, then repeat: 96 / 31

Step 4:
96 divided by 31 is 3 with a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 293.0
Subtracting 93 from 96 leaves us with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 31

Going ahead to step 5:
31 can be fit into 31 1 times, resulting in a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 2931.0
If we take 31 away from 31, we end up with 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 31

Moving on to step 6:
8 divided by 31 is 0 with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 29310.0
Subtracting 0 from 8 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 7:
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: 29310.2
Deduct 62 from 80 and we're left 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.

Let's proceed to step 8:
If we divide 180 by 31, we get 5 and a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 29310.25
If we take 155 away from 180, we end up with 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:
When dividing 250 by 31, we get 8 with a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 29310.258
Subtract 248 from 250 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 10:
If we divide 20 by 31, we get 0 and a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 29310.258
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 11:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 29310.25806
Deduct 186 from 200 and we're left 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 12:
The number 31 fits into 140 4 times, leaving a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 29310.258064
Deduct 124 from 140 and we're left with 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:
31 can be fit into 160 5 times, resulting in a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 29310.2580645
If we take 155 away from 160, we end up 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.

Advancing to step 14:
When dividing 50 by 31, we get 1 with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 29310.25806451
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.

After the division, we end up with 29310.25806451 and a remainder of 1.9e-08.