Let's divide 31321304 by 412
The aim is to understand the frequency of 412 in 31321304.

Going ahead to step 1:
412 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 412

Let's proceed to step 2:
412 goes into 31 0 times with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Take the next digit (3) from the dividend and append it to 31, then repeat: 313 / 412

Step 3:
412 can be fit into 313 0 times, resulting in a remainder of 313.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 313 leaves us with 313.
Bring next digit (2) of the dividend behind the 313 and repeat the process: 3132 / 412

Step 4:
The number 412 fits into 3132 7 times, leaving a remainder of 248.
The next digit of our result is 7. 
Result so far: 7.0
Subtracting 2884 from 3132 leaves us with 248.
Fetch the next digit (1) from the dividend, attach it to 248 and continue: 2481 / 412

Going ahead to step 5:
When dividing 2481 by 412, we get 6 with a remainder of 9.
Use 6 as the next digit of our solution. 
Result so far: 76.0
The remainder is 9 after subtracting 2472 from 2481.
Grab the next digit (3) from the dividend, add it to 9, then carry on: 93 / 412

Moving on to step 6:
When dividing 93 by 412, we get 0 with a remainder of 93.
The number 0 becomes the next digit in our result. 
Result so far: 760.0
If we take 0 away from 93, we end up with 93.
Include the next digit (0) from the dividend after 93, then repeat: 930 / 412

Let's proceed to step 7:
The number 412 fits into 930 2 times, leaving a remainder of 106.
Put 2 as the next digit of the answer. 
Result so far: 7602.0
The remainder is 106 after subtracting 824 from 930.
Grab the next digit (4) from the dividend, add it to 106, then carry on: 1064 / 412

On to step 8:
The number 412 fits into 1064 2 times, leaving a remainder of 240.
Write down 2 as next digit of the result. 
Result so far: 76022.0
Deduct 824 from 1064 and we're left with 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

On to step 9:
The number 412 fits into 2400 5 times, leaving a remainder of 340.
Record the quotient 5 as the next digit in the result. 
Result so far: 76022.5
If we take 2060 away from 2400, we end up with 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

Let's proceed to step 10:
When dividing 3400 by 412, we get 8 with a remainder of 104.
The number 8 becomes the next digit in our result. 
Result so far: 76022.58
Subtracting 3296 from 3400 leaves us with 104.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

Advancing to step 11:
412 can be fit into 1040 2 times, resulting in a remainder of 216.
The number 2 becomes the next digit in our result. 
Result so far: 76022.582
The remainder is 216 after subtracting 824 from 1040.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

On to step 12:
If we divide 2160 by 412, we get 5 and a remainder of 100.
Write down 5 as next digit of the result. 
Result so far: 76022.5825
Deduct 2060 from 2160 and we're left with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Advancing to step 13:
412 goes into 1000 2 times with a remainder of 176.
The number 2 becomes the next digit in our result. 
Result so far: 76022.58252
Subtract 824 from 1000 to get 176.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1760, and continue the process.

Going ahead to step 14:
1760 divided by 412 is 4 with a remainder of 112.
Write down 4 as next digit of the result. 
Result so far: 76022.582524
Subtracting 1648 from 1760 leaves us with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Moving on to step 15:
If we divide 1120 by 412, we get 2 and a remainder of 296.
Use 2 as the next digit of our solution. 
Result so far: 76022.5825242
If we take 824 away from 1120, we end up with 296.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2960, and continue the process.

Step 16:
412 goes into 2960 7 times with a remainder of 76.
The next digit of our result is 7. 
Result so far: 76022.58252427
Subtracting 2884 from 2960 leaves us with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

The final result is 76022.58252427 with a remainder of 7.6e-08.