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

Step 1:
If we divide 9 by 31, we get 0 and a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Grab the next digit (4) from the dividend, add it to 9, then carry on: 94 / 31

Let's proceed to step 2:
94 divided by 31 is 3 with 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.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 31

Let's proceed to step 3:
16 divided by 31 is 0 with a remainder of 16.
Use 0 as the next digit of our solution. 
Result so far: 30.0
If we take 0 away from 16, we end up with 16.
Include the next digit (4) from the dividend after 16, then repeat: 164 / 31

Let's proceed to step 4:
The number 31 fits into 164 5 times, leaving a remainder of 9.
The next digit of our result is 5. 
Result so far: 305.0
Subtract 155 from 164 to get 9.
Bring next digit (0) of the dividend behind the 9 and repeat the process: 90 / 31

On to step 5:
If we divide 90 by 31, we get 2 and a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 3052.0
Subtracting 62 from 90 leaves us with 28.
Include the next digit (8) from the dividend after 28, then repeat: 288 / 31

Let's proceed to step 6:
When dividing 288 by 31, we get 9 with a remainder of 9.
Record the quotient 9 as the next digit in the result. 
Result so far: 30529.0
If we subtract 279 from 288, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 7:
If we divide 90 by 31, we get 2 and a remainder of 28.
The next digit of our result is 2. 
Result so far: 30529.2
Subtracting 62 from 90 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 8:
31 goes into 280 9 times with a remainder of 1.
The next digit of our result is 9. 
Result so far: 30529.29
The remainder is 1 after subtracting 279 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 9:
31 goes into 10 0 times with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 30529.29
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.

Moving on to step 10:
The number 31 fits into 100 3 times, leaving a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 30529.2903
Deduct 93 from 100 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 11:
The number 31 fits into 70 2 times, leaving a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 30529.29032
Subtracting 62 from 70 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.

Moving on to step 12:
The number 31 fits into 80 2 times, leaving a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 30529.290322
Subtracting 62 from 80 leaves us 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.

The final result is 30529.290322 with a remainder of 1.8e-06.