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

Advancing to step 1:
The number 518 fits into 9 0 times, leaving a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Grab the next digit (7) from the dividend, add it to 9, then carry on: 97 / 518

Moving on to step 2:
If we divide 97 by 518, we get 0 and a remainder of 97.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 97 after subtracting 0 from 97.
Include the next digit (5) from the dividend after 97, then repeat: 975 / 518

Advancing to step 3:
If we divide 975 by 518, we get 1 and a remainder of 457.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 518 from 975 and we're left with 457.
Include the next digit (8) from the dividend after 457, then repeat: 4578 / 518

On to step 4:
4578 divided by 518 is 8 with a remainder of 434.
Use 8 as the next digit of our solution. 
Result so far: 18.0
If we take 4144 away from 4578, we end up with 434.
Fetch the next digit (7) from the dividend, attach it to 434 and continue: 4347 / 518

Advancing to step 5:
When dividing 4347 by 518, we get 8 with a remainder of 203.
Use 8 as the next digit of our solution. 
Result so far: 188.0
If we take 4144 away from 4347, we end up with 203.
Take the next digit (0) from the dividend and append it to 203, then repeat: 2030 / 518

Advancing to step 6:
518 goes into 2030 3 times with a remainder of 476.
Write down 3 as next digit of the result. 
Result so far: 1883.0
Subtract 1554 from 2030 to get 476.
Fetch the next digit (4) from the dividend, attach it to 476 and continue: 4764 / 518

On to step 7:
The number 518 fits into 4764 9 times, leaving a remainder of 102.
The number 9 becomes the next digit in our result. 
Result so far: 18839.0
The remainder is 102 after subtracting 4662 from 4764.
Include the next digit (6) from the dividend after 102, then repeat: 1026 / 518

Step 8:
1026 divided by 518 is 1 with a remainder of 508.
Use 1 as the next digit of our solution. 
Result so far: 188391.0
The remainder is 508 after subtracting 518 from 1026.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5080, and continue the process.

Advancing to step 9:
5080 divided by 518 is 9 with a remainder of 418.
Record the quotient 9 as the next digit in the result. 
Result so far: 188391.9
The remainder is 418 after subtracting 4662 from 5080.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4180, and continue the process.

Going ahead to step 10:
The number 518 fits into 4180 8 times, leaving a remainder of 36.
Write down 8 as next digit of the result. 
Result so far: 188391.98
Subtract 4144 from 4180 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.

On to step 11:
360 divided by 518 is 0 with a remainder of 360.
Put 0 as the next digit of the answer. 
Result so far: 188391.98
If we take 0 away from 360, we end up with 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

Let's proceed to step 12:
When dividing 3600 by 518, we get 6 with a remainder of 492.
Record the quotient 6 as the next digit in the result. 
Result so far: 188391.9806
The remainder is 492 after subtracting 3108 from 3600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4920, and continue the process.

Let's proceed to step 13:
4920 divided by 518 is 9 with a remainder of 258.
Use 9 as the next digit of our solution. 
Result so far: 188391.98069
Subtracting 4662 from 4920 leaves us with 258.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2580, and continue the process.

Moving on to step 14:
518 can be fit into 2580 4 times, resulting in a remainder of 508.
Write down 4 as next digit of the result. 
Result so far: 188391.980694
The remainder is 508 after subtracting 2072 from 2580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5080, and continue the process.

Step 15:
The number 518 fits into 5080 9 times, leaving a remainder of 418.
Use 9 as the next digit of our solution. 
Result so far: 188391.9806949
If we subtract 4662 from 5080, we get 418.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4180, and continue the process.

Advancing to step 16:
4180 divided by 518 is 8 with a remainder of 36.
Use 8 as the next digit of our solution. 
Result so far: 188391.98069498
The remainder is 36 after subtracting 4144 from 4180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Our division results in 188391.98069498 with a remaining 3.6e-08.