Let's divide 4878460 by 313
The aim is to understand the frequency of 313 in 4878460.

On to step 1:
If we divide 4 by 313, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Take the next digit (8) from the dividend and append it to 4, then repeat: 48 / 313

Going ahead to step 2:
The number 313 fits into 48 0 times, leaving a remainder of 48.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 48, we get 48.
Fetch the next digit (7) from the dividend, attach it to 48 and continue: 487 / 313

Going ahead to step 3:
487 divided by 313 is 1 with a remainder of 174.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 313 from 487 and we're left with 174.
Grab the next digit (8) from the dividend, add it to 174, then carry on: 1748 / 313

On to step 4:
The number 313 fits into 1748 5 times, leaving a remainder of 183.
Use 5 as the next digit of our solution. 
Result so far: 15.0
If we subtract 1565 from 1748, we get 183.
Bring next digit (4) of the dividend behind the 183 and repeat the process: 1834 / 313

On to step 5:
313 goes into 1834 5 times with a remainder of 269.
Record the quotient 5 as the next digit in the result. 
Result so far: 155.0
Subtract 1565 from 1834 to get 269.
Take the next digit (6) from the dividend and append it to 269, then repeat: 2696 / 313

Going ahead to step 6:
The number 313 fits into 2696 8 times, leaving a remainder of 192.
Record the quotient 8 as the next digit in the result. 
Result so far: 1558.0
The remainder is 192 after subtracting 2504 from 2696.
Bring next digit (0) of the dividend behind the 192 and repeat the process: 1920 / 313

Moving on to step 7:
313 can be fit into 1920 6 times, resulting in a remainder of 42.
The number 6 becomes the next digit in our result. 
Result so far: 15586.0
If we take 1878 away from 1920, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Going ahead to step 8:
313 goes into 420 1 times with a remainder of 107.
The next digit of our result is 1. 
Result so far: 15586.1
Subtract 313 from 420 to get 107.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1070, and continue the process.

On to step 9:
If we divide 1070 by 313, we get 3 and a remainder of 131.
Record the quotient 3 as the next digit in the result. 
Result so far: 15586.13
Subtract 939 from 1070 to get 131.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1310, and continue the process.

Let's proceed to step 10:
If we divide 1310 by 313, we get 4 and a remainder of 58.
Put 4 as the next digit of the answer. 
Result so far: 15586.134
Subtract 1252 from 1310 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.

Moving on to step 11:
When dividing 580 by 313, we get 1 with a remainder of 267.
Put 1 as the next digit of the answer. 
Result so far: 15586.1341
Deduct 313 from 580 and we're left with 267.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2670, and continue the process.

Let's proceed to step 12:
If we divide 2670 by 313, we get 8 and a remainder of 166.
Put 8 as the next digit of the answer. 
Result so far: 15586.13418
If we subtract 2504 from 2670, we get 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Going ahead to step 13:
If we divide 1660 by 313, we get 5 and a remainder of 95.
Put 5 as the next digit of the answer. 
Result so far: 15586.134185
Subtracting 1565 from 1660 leaves us with 95.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

Moving on to step 14:
When dividing 950 by 313, we get 3 with a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 15586.1341853
Subtracting 939 from 950 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 15:
110 divided by 313 is 0 with a remainder of 110.
Record the quotient 0 as the next digit in the result. 
Result so far: 15586.1341853
If we subtract 0 from 110, we get 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

The quotient of the division is 15586.1341853, and the remainder is 1.1e-07.