We're dividing 51664014 by 313 
The aim is to understand the frequency of 313 in 51664014.

On to step 1:
313 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 313

On to step 2:
If we divide 51 by 313, we get 0 and a remainder of 51.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 51 to get 51.
Take the next digit (6) from the dividend and append it to 51, then repeat: 516 / 313

Advancing to step 3:
The number 313 fits into 516 1 times, leaving a remainder of 203.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 313 from 516, we get 203.
Fetch the next digit (6) from the dividend, attach it to 203 and continue: 2036 / 313

Going ahead to step 4:
313 goes into 2036 6 times with a remainder of 158.
Write down 6 as next digit of the result. 
Result so far: 16.0
If we take 1878 away from 2036, we end up with 158.
Bring next digit (4) of the dividend behind the 158 and repeat the process: 1584 / 313

On to step 5:
If we divide 1584 by 313, we get 5 and a remainder of 19.
The number 5 becomes the next digit in our result. 
Result so far: 165.0
Subtracting 1565 from 1584 leaves us with 19.
Append the next digit (0) from the dividend to 19 and continue with: 190 / 313

Advancing to step 6:
When dividing 190 by 313, we get 0 with a remainder of 190.
Record the quotient 0 as the next digit in the result. 
Result so far: 1650.0
Deduct 0 from 190 and we're left with 190.
Bring next digit (1) of the dividend behind the 190 and repeat the process: 1901 / 313

Step 7:
1901 divided by 313 is 6 with a remainder of 23.
Record the quotient 6 as the next digit in the result. 
Result so far: 16506.0
Subtract 1878 from 1901 to get 23.
Fetch the next digit (4) from the dividend, attach it to 23 and continue: 234 / 313

Advancing to step 8:
If we divide 234 by 313, we get 0 and a remainder of 234.
Write down 0 as next digit of the result. 
Result so far: 165060.0
Deduct 0 from 234 and we're left with 234.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2340, and continue the process.

Let's proceed to step 9:
The number 313 fits into 2340 7 times, leaving a remainder of 149.
The next digit of our result is 7. 
Result so far: 165060.7
If we take 2191 away from 2340, we end up with 149.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1490, and continue the process.

Let's proceed to step 10:
313 can be fit into 1490 4 times, resulting in a remainder of 238.
Record the quotient 4 as the next digit in the result. 
Result so far: 165060.74
Subtracting 1252 from 1490 leaves us with 238.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2380, and continue the process.

Moving on to step 11:
When dividing 2380 by 313, we get 7 with a remainder of 189.
Use 7 as the next digit of our solution. 
Result so far: 165060.747
Subtracting 2191 from 2380 leaves us with 189.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1890, and continue the process.

Going ahead to step 12:
The number 313 fits into 1890 6 times, leaving a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 165060.7476
The remainder is 12 after subtracting 1878 from 1890.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 13:
313 can be fit into 120 0 times, resulting in a remainder of 120.
Put 0 as the next digit of the answer. 
Result so far: 165060.7476
The remainder is 120 after subtracting 0 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Moving on to step 14:
1200 divided by 313 is 3 with a remainder of 261.
Write down 3 as next digit of the result. 
Result so far: 165060.747603
If we take 939 away from 1200, we end up with 261.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2610, and continue the process.

Step 15:
If we divide 2610 by 313, we get 8 and a remainder of 106.
The number 8 becomes the next digit in our result. 
Result so far: 165060.7476038
If we take 2504 away from 2610, we end up with 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Moving on to step 16:
The number 313 fits into 1060 3 times, leaving a remainder of 121.
The next digit of our result is 3. 
Result so far: 165060.74760383
If we take 939 away from 1060, we end up with 121.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1210, and continue the process.

The quotient of the division is 165060.74760383, and the remainder is 1.21e-07.