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

Advancing to step 1:
9 divided by 31 is 0 with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Grab the next digit (5) from the dividend, add it to 9, then carry on: 95 / 31

Going ahead to step 2:
If we divide 95 by 31, we get 3 and a remainder of 2.
The next digit of our result is 3. 
Result so far: 3.0
Deduct 93 from 95 and we're left with 2.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 31

Going ahead to step 3:
31 can be fit into 21 0 times, resulting in a remainder of 21.
Record the quotient 0 as the next digit in the result. 
Result so far: 30.0
Deduct 0 from 21 and we're left with 21.
Bring next digit (2) of the dividend behind the 21 and repeat the process: 212 / 31

Let's proceed to step 4:
When dividing 212 by 31, we get 6 with a remainder of 26.
Put 6 as the next digit of the answer. 
Result so far: 306.0
Subtract 186 from 212 to get 26.
Grab the next digit (4) from the dividend, add it to 26, then carry on: 264 / 31

Moving on to step 5:
When dividing 264 by 31, we get 8 with a remainder of 16.
The next digit of our result is 8. 
Result so far: 3068.0
If we take 248 away from 264, we end up with 16.
Include the next digit (7) from the dividend after 16, then repeat: 167 / 31

Step 6:
The number 31 fits into 167 5 times, leaving a remainder of 12.
The number 5 becomes the next digit in our result. 
Result so far: 30685.0
The remainder is 12 after subtracting 155 from 167.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 7:
If we divide 120 by 31, we get 3 and a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 30685.3
Deduct 93 from 120 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 8:
The number 31 fits into 270 8 times, leaving a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 30685.38
If we take 248 away from 270, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 9:
The number 31 fits into 220 7 times, leaving a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 30685.387
Subtract 217 from 220 to get 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 10:
If we divide 30 by 31, we get 0 and a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 30685.387
Deduct 0 from 30 and we're left 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.

Advancing to step 11:
If we divide 300 by 31, we get 9 and a remainder of 21.
Write down 9 as next digit of the result. 
Result so far: 30685.38709
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.

Going ahead to step 12:
The number 31 fits into 210 6 times, leaving a remainder of 24.
The next digit of our result is 6. 
Result so far: 30685.387096
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.

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

Moving on to step 14:
The number 31 fits into 230 7 times, leaving a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 30685.38709677
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 30685.38709677, and the remainder is 1.3e-08.