We divide 21527126 by 518
The aim is to understand the frequency of 518 in 21527126.

On to step 1:
2 divided by 518 is 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Take the next digit (1) from the dividend and append it to 2, then repeat: 21 / 518

On to step 2:
518 goes into 21 0 times with a remainder of 21.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 21, we end up with 21.
Grab the next digit (5) from the dividend, add it to 21, then carry on: 215 / 518

On to step 3:
215 divided by 518 is 0 with a remainder of 215.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 215 to get 215.
Append the next digit (2) from the dividend to 215 and continue with: 2152 / 518

Let's proceed to step 4:
2152 divided by 518 is 4 with a remainder of 80.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
The remainder is 80 after subtracting 2072 from 2152.
Append the next digit (7) from the dividend to 80 and continue with: 807 / 518

Going ahead to step 5:
518 can be fit into 807 1 times, resulting in a remainder of 289.
The number 1 becomes the next digit in our result. 
Result so far: 41.0
If we subtract 518 from 807, we get 289.
Fetch the next digit (1) from the dividend, attach it to 289 and continue: 2891 / 518

Step 6:
When dividing 2891 by 518, we get 5 with a remainder of 301.
Record the quotient 5 as the next digit in the result. 
Result so far: 415.0
Subtract 2590 from 2891 to get 301.
Bring next digit (2) of the dividend behind the 301 and repeat the process: 3012 / 518

Let's proceed to step 7:
If we divide 3012 by 518, we get 5 and a remainder of 422.
Record the quotient 5 as the next digit in the result. 
Result so far: 4155.0
Deduct 2590 from 3012 and we're left with 422.
Fetch the next digit (6) from the dividend, attach it to 422 and continue: 4226 / 518

Moving on to step 8:
518 can be fit into 4226 8 times, resulting in a remainder of 82.
Write down 8 as next digit of the result. 
Result so far: 41558.0
Deduct 4144 from 4226 and we're left with 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Let's proceed to step 9:
820 divided by 518 is 1 with a remainder of 302.
The next digit of our result is 1. 
Result so far: 41558.1
If we subtract 518 from 820, we get 302.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3020, and continue the process.

Moving on to step 10:
518 can be fit into 3020 5 times, resulting in a remainder of 430.
The next digit of our result is 5. 
Result so far: 41558.15
Subtract 2590 from 3020 to get 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4300, and continue the process.

Going ahead to step 11:
The number 518 fits into 4300 8 times, leaving a remainder of 156.
Use 8 as the next digit of our solution. 
Result so far: 41558.158
The remainder is 156 after subtracting 4144 from 4300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

On to step 12:
518 can be fit into 1560 3 times, resulting in a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 41558.1583
The remainder is 6 after subtracting 1554 from 1560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 13:
If we divide 60 by 518, we get 0 and a remainder of 60.
Write down 0 as next digit of the result. 
Result so far: 41558.1583
The remainder is 60 after subtracting 0 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Step 14:
600 divided by 518 is 1 with a remainder of 82.
The next digit of our result is 1. 
Result so far: 41558.158301
Subtracting 518 from 600 leaves us with 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Advancing to step 15:
The number 518 fits into 820 1 times, leaving a remainder of 302.
Write down 1 as next digit of the result. 
Result so far: 41558.1583011
Deduct 518 from 820 and we're left with 302.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3020, and continue the process.

After the division, we end up with 41558.1583011 and a remainder of 3.02e-06.