We look at the division of 518103 by 23 
The aim is to understand the frequency of 23 in 518103.

Advancing to step 1:
When dividing 5 by 23, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 23

Step 2:
23 goes into 51 2 times with a remainder of 5.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Deduct 46 from 51 and we're left with 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 23

Step 3:
23 can be fit into 58 2 times, resulting in a remainder of 12.
Use 2 as the next digit of our solution. 
Result so far: 22.0
If we subtract 46 from 58, we get 12.
Bring next digit (1) of the dividend behind the 12 and repeat the process: 121 / 23

Going ahead to step 4:
23 can be fit into 121 5 times, resulting in a remainder of 6.
The number 5 becomes the next digit in our result. 
Result so far: 225.0
If we take 115 away from 121, we end up with 6.
Bring next digit (0) of the dividend behind the 6 and repeat the process: 60 / 23

On to step 5:
60 divided by 23 is 2 with a remainder of 14.
The next digit of our result is 2. 
Result so far: 2252.0
Subtract 46 from 60 to get 14.
Include the next digit (3) from the dividend after 14, then repeat: 143 / 23

Moving on to step 6:
143 divided by 23 is 6 with a remainder of 5.
Use 6 as the next digit of our solution. 
Result so far: 22526.0
If we take 138 away from 143, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 7:
23 goes into 50 2 times with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 22526.2
Subtracting 46 from 50 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 8:
40 divided by 23 is 1 with a remainder of 17.
Put 1 as the next digit of the answer. 
Result so far: 22526.21
The remainder is 17 after subtracting 23 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 9:
23 goes into 170 7 times with a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 22526.217
Deduct 161 from 170 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 10:
23 can be fit into 90 3 times, resulting in a remainder of 21.
Write down 3 as next digit of the result. 
Result so far: 22526.2173
If we subtract 69 from 90, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 11:
The number 23 fits into 210 9 times, leaving a remainder of 3.
The next digit of our result is 9. 
Result so far: 22526.21739
Deduct 207 from 210 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 12:
30 divided by 23 is 1 with a remainder of 7.
The next digit of our result is 1. 
Result so far: 22526.217391
If we subtract 23 from 30, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 13:
23 goes into 70 3 times with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 22526.2173913
If we take 69 away from 70, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 14:
The number 23 fits into 10 0 times, leaving a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 22526.2173913
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final outcome is 22526.2173913, with a leftover of 1e-08.