952218 ÷ 31 
The aim is to understand the frequency of 31 in 952218.

On to step 1:
The number 31 fits into 9 0 times, leaving a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Append the next digit (5) from the dividend to 9 and continue with: 95 / 31

Let's proceed to step 2:
31 can be fit into 95 3 times, resulting in a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 93 from 95 and we're left with 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 31

Step 3:
If we divide 22 by 31, we get 0 and a remainder of 22.
Use 0 as the next digit of our solution. 
Result so far: 30.0
If we take 0 away from 22, we end up with 22.
Include the next digit (2) from the dividend after 22, then repeat: 222 / 31

On to step 4:
When dividing 222 by 31, we get 7 with a remainder of 5.
Write down 7 as next digit of the result. 
Result so far: 307.0
The remainder is 5 after subtracting 217 from 222.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 31

Moving on to step 5:
When dividing 51 by 31, we get 1 with a remainder of 20.
The number 1 becomes the next digit in our result. 
Result so far: 3071.0
If we subtract 31 from 51, we get 20.
Fetch the next digit (8) from the dividend, attach it to 20 and continue: 208 / 31

Let's proceed to step 6:
31 goes into 208 6 times with a remainder of 22.
Put 6 as the next digit of the answer. 
Result so far: 30716.0
Subtracting 186 from 208 leaves us 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.

Going ahead to step 7:
The number 31 fits into 220 7 times, leaving a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 30716.7
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.

Let's proceed to step 8:
31 goes into 30 0 times with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 30716.7
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.

Step 9:
The number 31 fits into 300 9 times, leaving a remainder of 21.
The next digit of our result is 9. 
Result so far: 30716.709
If we take 279 away from 300, we end up 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.

Step 10:
When dividing 210 by 31, we get 6 with a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 30716.7096
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.

Going ahead to step 11:
If we divide 240 by 31, we get 7 and a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 30716.70967
Deduct 217 from 240 and we're left 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.

Advancing to step 12:
31 can be fit into 230 7 times, resulting in a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 30716.709677
If we take 217 away from 230, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

After the division, we end up with 30716.709677 and a remainder of 1.3e-06.