31317195 ÷ 407 
The aim is to understand the frequency of 407 in 31317195.

Step 1:
3 divided by 407 is 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 407

Let's proceed to step 2:
407 goes into 31 0 times with a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Append the next digit (3) from the dividend to 31 and continue with: 313 / 407

Step 3:
407 can be fit into 313 0 times, resulting in a remainder of 313.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 313, we get 313.
Grab the next digit (1) from the dividend, add it to 313, then carry on: 3131 / 407

On to step 4:
If we divide 3131 by 407, we get 7 and a remainder of 282.
Put 7 as the next digit of the answer. 
Result so far: 7.0
If we take 2849 away from 3131, we end up with 282.
Bring next digit (7) of the dividend behind the 282 and repeat the process: 2827 / 407

Moving on to step 5:
407 goes into 2827 6 times with a remainder of 385.
Use 6 as the next digit of our solution. 
Result so far: 76.0
Subtract 2442 from 2827 to get 385.
Bring next digit (1) of the dividend behind the 385 and repeat the process: 3851 / 407

Let's proceed to step 6:
If we divide 3851 by 407, we get 9 and a remainder of 188.
Write down 9 as next digit of the result. 
Result so far: 769.0
Subtract 3663 from 3851 to get 188.
Include the next digit (9) from the dividend after 188, then repeat: 1889 / 407

Step 7:
407 goes into 1889 4 times with a remainder of 261.
Use 4 as the next digit of our solution. 
Result so far: 7694.0
Subtracting 1628 from 1889 leaves us with 261.
Fetch the next digit (5) from the dividend, attach it to 261 and continue: 2615 / 407

Let's proceed to step 8:
407 goes into 2615 6 times with a remainder of 173.
The number 6 becomes the next digit in our result. 
Result so far: 76946.0
Subtracting 2442 from 2615 leaves us with 173.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1730, and continue the process.

Advancing to step 9:
The number 407 fits into 1730 4 times, leaving a remainder of 102.
The number 4 becomes the next digit in our result. 
Result so far: 76946.4
If we take 1628 away from 1730, we end up with 102.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1020, and continue the process.

On to step 10:
1020 divided by 407 is 2 with a remainder of 206.
Write down 2 as next digit of the result. 
Result so far: 76946.42
Deduct 814 from 1020 and we're left with 206.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

Advancing to step 11:
If we divide 2060 by 407, we get 5 and a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 76946.425
The remainder is 25 after subtracting 2035 from 2060.
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 12:
If we divide 250 by 407, we get 0 and a remainder of 250.
Use 0 as the next digit of our solution. 
Result so far: 76946.425
Deduct 0 from 250 and we're left with 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Advancing to step 13:
If we divide 2500 by 407, we get 6 and a remainder of 58.
Record the quotient 6 as the next digit in the result. 
Result so far: 76946.42506
Subtract 2442 from 2500 to get 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

On to step 14:
If we divide 580 by 407, we get 1 and a remainder of 173.
Put 1 as the next digit of the answer. 
Result so far: 76946.425061
Deduct 407 from 580 and we're left with 173.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1730, and continue the process.

Advancing to step 15:
The number 407 fits into 1730 4 times, leaving a remainder of 102.
Put 4 as the next digit of the answer. 
Result so far: 76946.4250614
Subtracting 1628 from 1730 leaves us with 102.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1020, and continue the process.

Let's proceed to step 16:
1020 divided by 407 is 2 with a remainder of 206.
The next digit of our result is 2. 
Result so far: 76946.42506142
The remainder is 206 after subtracting 814 from 1020.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

The quotient of the division is 76946.42506142, and the remainder is 2.06e-07.