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

On to step 1:
313 can be fit into 7 0 times, resulting in a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Bring next digit (9) of the dividend behind the 7 and repeat the process: 79 / 313

Going ahead to step 2:
If we divide 79 by 313, we get 0 and a remainder of 79.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 79, we get 79.
Grab the next digit (8) from the dividend, add it to 79, then carry on: 798 / 313

Step 3:
When dividing 798 by 313, we get 2 with a remainder of 172.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 626 from 798, we get 172.
Include the next digit (6) from the dividend after 172, then repeat: 1726 / 313

Going ahead to step 4:
1726 divided by 313 is 5 with a remainder of 161.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
Deduct 1565 from 1726 and we're left with 161.
Bring next digit (4) of the dividend behind the 161 and repeat the process: 1614 / 313

Advancing to step 5:
The number 313 fits into 1614 5 times, leaving a remainder of 49.
The next digit of our result is 5. 
Result so far: 255.0
Subtracting 1565 from 1614 leaves us with 49.
Include the next digit (2) from the dividend after 49, then repeat: 492 / 313

Advancing to step 6:
492 divided by 313 is 1 with a remainder of 179.
Use 1 as the next digit of our solution. 
Result so far: 2551.0
If we take 313 away from 492, we end up with 179.
Bring next digit (2) of the dividend behind the 179 and repeat the process: 1792 / 313

Moving on to step 7:
When dividing 1792 by 313, we get 5 with a remainder of 227.
Use 5 as the next digit of our solution. 
Result so far: 25515.0
The remainder is 227 after subtracting 1565 from 1792.
Take the next digit (2) from the dividend and append it to 227, then repeat: 2272 / 313

Advancing to step 8:
When dividing 2272 by 313, we get 7 with a remainder of 81.
The number 7 becomes the next digit in our result. 
Result so far: 255157.0
Subtract 2191 from 2272 to get 81.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

Moving on to step 9:
313 goes into 810 2 times with a remainder of 184.
Put 2 as the next digit of the answer. 
Result so far: 255157.2
Subtracting 626 from 810 leaves us with 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Moving on to step 10:
If we divide 1840 by 313, we get 5 and a remainder of 275.
The next digit of our result is 5. 
Result so far: 255157.25
Subtracting 1565 from 1840 leaves us with 275.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2750, and continue the process.

On to step 11:
313 can be fit into 2750 8 times, resulting in a remainder of 246.
The number 8 becomes the next digit in our result. 
Result so far: 255157.258
Subtracting 2504 from 2750 leaves us with 246.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2460, and continue the process.

Going ahead to step 12:
The number 313 fits into 2460 7 times, leaving a remainder of 269.
Write down 7 as next digit of the result. 
Result so far: 255157.2587
Subtracting 2191 from 2460 leaves us with 269.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2690, and continue the process.

On to step 13:
If we divide 2690 by 313, we get 8 and a remainder of 186.
Use 8 as the next digit of our solution. 
Result so far: 255157.25878
The remainder is 186 after subtracting 2504 from 2690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1860, and continue the process.

Advancing to step 14:
1860 divided by 313 is 5 with a remainder of 295.
Put 5 as the next digit of the answer. 
Result so far: 255157.258785
Subtracting 1565 from 1860 leaves us with 295.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2950, and continue the process.

Moving on to step 15:
2950 divided by 313 is 9 with a remainder of 133.
Use 9 as the next digit of our solution. 
Result so far: 255157.2587859
Subtract 2817 from 2950 to get 133.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1330, and continue the process.

Advancing to step 16:
313 can be fit into 1330 4 times, resulting in a remainder of 78.
Record the quotient 4 as the next digit in the result. 
Result so far: 255157.25878594
The remainder is 78 after subtracting 1252 from 1330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Our division results in 255157.25878594 with a remaining 7.8e-08.