We look at the division of 51240477 by 518 
The aim is to understand the frequency of 518 in 51240477.

Advancing to step 1:
If we divide 5 by 518, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 518

Step 2:
The number 518 fits into 51 0 times, leaving a remainder of 51.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 51, we end up with 51.
Include the next digit (2) from the dividend after 51, then repeat: 512 / 518

Moving on to step 3:
518 can be fit into 512 0 times, resulting in a remainder of 512.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 512 leaves us with 512.
Include the next digit (4) from the dividend after 512, then repeat: 5124 / 518

On to step 4:
The number 518 fits into 5124 9 times, leaving a remainder of 462.
Put 9 as the next digit of the answer. 
Result so far: 9.0
Deduct 4662 from 5124 and we're left with 462.
Take the next digit (0) from the dividend and append it to 462, then repeat: 4620 / 518

On to step 5:
The number 518 fits into 4620 8 times, leaving a remainder of 476.
The next digit of our result is 8. 
Result so far: 98.0
If we subtract 4144 from 4620, we get 476.
Fetch the next digit (4) from the dividend, attach it to 476 and continue: 4764 / 518

Step 6:
518 can be fit into 4764 9 times, resulting in a remainder of 102.
Record the quotient 9 as the next digit in the result. 
Result so far: 989.0
Deduct 4662 from 4764 and we're left with 102.
Include the next digit (7) from the dividend after 102, then repeat: 1027 / 518

Advancing to step 7:
The number 518 fits into 1027 1 times, leaving a remainder of 509.
The next digit of our result is 1. 
Result so far: 9891.0
If we take 518 away from 1027, we end up with 509.
Include the next digit (7) from the dividend after 509, then repeat: 5097 / 518

Going ahead to step 8:
When dividing 5097 by 518, we get 9 with a remainder of 435.
Record the quotient 9 as the next digit in the result. 
Result so far: 98919.0
Subtract 4662 from 5097 to get 435.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4350, and continue the process.

On to step 9:
When dividing 4350 by 518, we get 8 with a remainder of 206.
Put 8 as the next digit of the answer. 
Result so far: 98919.8
Subtract 4144 from 4350 to get 206.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

Advancing to step 10:
2060 divided by 518 is 3 with a remainder of 506.
Record the quotient 3 as the next digit in the result. 
Result so far: 98919.83
If we take 1554 away from 2060, we end up with 506.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5060, and continue the process.

Advancing to step 11:
518 can be fit into 5060 9 times, resulting in a remainder of 398.
Record the quotient 9 as the next digit in the result. 
Result so far: 98919.839
The remainder is 398 after subtracting 4662 from 5060.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3980, and continue the process.

Moving on to step 12:
When dividing 3980 by 518, we get 7 with a remainder of 354.
Record the quotient 7 as the next digit in the result. 
Result so far: 98919.8397
Subtract 3626 from 3980 to get 354.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3540, and continue the process.

Moving on to step 13:
If we divide 3540 by 518, we get 6 and a remainder of 432.
Record the quotient 6 as the next digit in the result. 
Result so far: 98919.83976
If we take 3108 away from 3540, we end up with 432.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4320, and continue the process.

Moving on to step 14:
If we divide 4320 by 518, we get 8 and a remainder of 176.
Write down 8 as next digit of the result. 
Result so far: 98919.839768
Subtracting 4144 from 4320 leaves us with 176.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1760, and continue the process.

Step 15:
When dividing 1760 by 518, we get 3 with a remainder of 206.
Write down 3 as next digit of the result. 
Result so far: 98919.8397683
Deduct 1554 from 1760 and we're left with 206.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

Let's proceed to step 16:
518 goes into 2060 3 times with a remainder of 506.
The next digit of our result is 3. 
Result so far: 98919.83976833
Subtract 1554 from 2060 to get 506.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5060, and continue the process.

Our division results in 98919.83976833 with a remaining 5.06e-07.