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

Going ahead to step 1:
31 goes into 9 0 times with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Take the next digit (4) from the dividend and append it to 9, then repeat: 94 / 31

Moving on to step 2:
31 can be fit into 94 3 times, resulting in a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 93 from 94 and we're left with 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 31

Advancing to step 3:
The number 31 fits into 19 0 times, leaving a remainder of 19.
Put 0 as the next digit of the answer. 
Result so far: 30.0
If we take 0 away from 19, we end up with 19.
Append the next digit (3) from the dividend to 19 and continue with: 193 / 31

Advancing to step 4:
The number 31 fits into 193 6 times, leaving a remainder of 7.
Write down 6 as next digit of the result. 
Result so far: 306.0
If we subtract 186 from 193, we get 7.
Bring next digit (4) of the dividend behind the 7 and repeat the process: 74 / 31

On to step 5:
74 divided by 31 is 2 with a remainder of 12.
The number 2 becomes the next digit in our result. 
Result so far: 3062.0
If we take 62 away from 74, we end up with 12.
Fetch the next digit (5) from the dividend, attach it to 12 and continue: 125 / 31

Going ahead to step 6:
The number 31 fits into 125 4 times, leaving a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 30624.0
Subtracting 124 from 125 leaves us 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.

Step 7:
31 goes into 10 0 times with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 30624.0
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 8:
When dividing 100 by 31, we get 3 with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 30624.03
If we subtract 93 from 100, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 9:
31 goes into 70 2 times with a remainder of 8.
The next digit of our result is 2. 
Result so far: 30624.032
Subtract 62 from 70 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 10:
When dividing 80 by 31, we get 2 with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 30624.0322
If we subtract 62 from 80, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Our division results in 30624.0322 with a remaining 0.00018.