We look at the division of 50927878 by 318 
The aim is to understand the frequency of 318 in 50927878.

Advancing to step 1:
318 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 318

Step 2:
318 goes into 50 0 times with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 50 to get 50.
Include the next digit (9) from the dividend after 50, then repeat: 509 / 318

Moving on to step 3:
318 goes into 509 1 times with a remainder of 191.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 318 from 509 and we're left with 191.
Fetch the next digit (2) from the dividend, attach it to 191 and continue: 1912 / 318

Moving on to step 4:
318 can be fit into 1912 6 times, resulting in a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 16.0
The remainder is 4 after subtracting 1908 from 1912.
Grab the next digit (7) from the dividend, add it to 4, then carry on: 47 / 318

Step 5:
When dividing 47 by 318, we get 0 with a remainder of 47.
Use 0 as the next digit of our solution. 
Result so far: 160.0
Deduct 0 from 47 and we're left with 47.
Append the next digit (8) from the dividend to 47 and continue with: 478 / 318

Going ahead to step 6:
478 divided by 318 is 1 with a remainder of 160.
The number 1 becomes the next digit in our result. 
Result so far: 1601.0
If we subtract 318 from 478, we get 160.
Bring next digit (7) of the dividend behind the 160 and repeat the process: 1607 / 318

On to step 7:
1607 divided by 318 is 5 with a remainder of 17.
Use 5 as the next digit of our solution. 
Result so far: 16015.0
Subtracting 1590 from 1607 leaves us with 17.
Take the next digit (8) from the dividend and append it to 17, then repeat: 178 / 318

Moving on to step 8:
When dividing 178 by 318, we get 0 with a remainder of 178.
Put 0 as the next digit of the answer. 
Result so far: 160150.0
Subtract 0 from 178 to get 178.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1780, and continue the process.

Going ahead to step 9:
318 goes into 1780 5 times with a remainder of 190.
Use 5 as the next digit of our solution. 
Result so far: 160150.5
The remainder is 190 after subtracting 1590 from 1780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1900, and continue the process.

Going ahead to step 10:
If we divide 1900 by 318, we get 5 and a remainder of 310.
Put 5 as the next digit of the answer. 
Result so far: 160150.55
If we take 1590 away from 1900, we end up with 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3100, and continue the process.

Our division results in 160150.55 with a remaining 0.31.