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

Advancing to step 1:
When dividing 5 by 313, we get 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 313

Moving on to step 2:
The number 313 fits into 54 0 times, leaving a remainder of 54.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 54 and we're left with 54.
Append the next digit (8) from the dividend to 54 and continue with: 548 / 313

Advancing to step 3:
313 can be fit into 548 1 times, resulting in a remainder of 235.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 235 after subtracting 313 from 548.
Bring next digit (5) of the dividend behind the 235 and repeat the process: 2355 / 313

On to step 4:
313 goes into 2355 7 times with a remainder of 164.
The next digit of our result is 7. 
Result so far: 17.0
Subtract 2191 from 2355 to get 164.
Fetch the next digit (7) from the dividend, attach it to 164 and continue: 1647 / 313

Let's proceed to step 5:
The number 313 fits into 1647 5 times, leaving a remainder of 82.
The next digit of our result is 5. 
Result so far: 175.0
Subtracting 1565 from 1647 leaves us with 82.
Include the next digit (4) from the dividend after 82, then repeat: 824 / 313

On to step 6:
824 divided by 313 is 2 with a remainder of 198.
Write down 2 as next digit of the result. 
Result so far: 1752.0
If we take 626 away from 824, we end up with 198.
Include the next digit (7) from the dividend after 198, then repeat: 1987 / 313

Going ahead to step 7:
When dividing 1987 by 313, we get 6 with a remainder of 109.
Put 6 as the next digit of the answer. 
Result so far: 17526.0
Subtracting 1878 from 1987 leaves us with 109.
Take the next digit (0) from the dividend and append it to 109, then repeat: 1090 / 313

On to step 8:
If we divide 1090 by 313, we get 3 and a remainder of 151.
Put 3 as the next digit of the answer. 
Result so far: 175263.0
Deduct 939 from 1090 and we're left with 151.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1510, and continue the process.

On to step 9:
The number 313 fits into 1510 4 times, leaving a remainder of 258.
Use 4 as the next digit of our solution. 
Result so far: 175263.4
If we subtract 1252 from 1510, we get 258.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2580, and continue the process.

Going ahead to step 10:
The number 313 fits into 2580 8 times, leaving a remainder of 76.
Record the quotient 8 as the next digit in the result. 
Result so far: 175263.48
Deduct 2504 from 2580 and we're left 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.

Let's proceed to step 11:
313 can be fit into 760 2 times, resulting in a remainder of 134.
The number 2 becomes the next digit in our result. 
Result so far: 175263.482
The remainder is 134 after subtracting 626 from 760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

Going ahead to step 12:
1340 divided by 313 is 4 with a remainder of 88.
The number 4 becomes the next digit in our result. 
Result so far: 175263.4824
Subtract 1252 from 1340 to get 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Going ahead to step 13:
When dividing 880 by 313, we get 2 with a remainder of 254.
Use 2 as the next digit of our solution. 
Result so far: 175263.48242
Subtracting 626 from 880 leaves us with 254.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2540, and continue the process.

Let's proceed to step 14:
313 goes into 2540 8 times with a remainder of 36.
Record the quotient 8 as the next digit in the result. 
Result so far: 175263.482428
Subtract 2504 from 2540 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 15:
360 divided by 313 is 1 with a remainder of 47.
The next digit of our result is 1. 
Result so far: 175263.4824281
Subtract 313 from 360 to get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Advancing to step 16:
When dividing 470 by 313, we get 1 with a remainder of 157.
Put 1 as the next digit of the answer. 
Result so far: 175263.48242811
If we take 313 away from 470, we end up with 157.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1570, and continue the process.

The final result is 175263.48242811 with a remainder of 1.57e-07.