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

Step 1:
The number 23 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (4) from the dividend to 5 and continue with: 54 / 23

Moving on to step 2:
If we divide 54 by 23, we get 2 and a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 46 from 54, we get 8.
Take the next digit (1) from the dividend and append it to 8, then repeat: 81 / 23

Step 3:
23 goes into 81 3 times with a remainder of 12.
Write down 3 as next digit of the result. 
Result so far: 23.0
If we subtract 69 from 81, we get 12.
Grab the next digit (9) from the dividend, add it to 12, then carry on: 129 / 23

Advancing to step 4:
23 goes into 129 5 times with a remainder of 14.
Write down 5 as next digit of the result. 
Result so far: 235.0
If we subtract 115 from 129, we get 14.
Take the next digit (9) from the dividend and append it to 14, then repeat: 149 / 23

Step 5:
If we divide 149 by 23, we get 6 and a remainder of 11.
The number 6 becomes the next digit in our result. 
Result so far: 2356.0
Subtract 138 from 149 to get 11.
Grab the next digit (8) from the dividend, add it to 11, then carry on: 118 / 23

On to step 6:
The number 23 fits into 118 5 times, leaving a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 23565.0
Subtract 115 from 118 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 7:
If we divide 30 by 23, we get 1 and a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 23565.1
Deduct 23 from 30 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 8:
When dividing 70 by 23, we get 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 23565.13
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.

Moving on to step 9:
If we divide 10 by 23, we get 0 and a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 23565.13
Subtracting 0 from 10 leaves us 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.

Let's proceed to step 10:
100 divided by 23 is 4 with a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 23565.1304
Subtracting 92 from 100 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 11:
23 can be fit into 80 3 times, resulting in a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 23565.13043
Deduct 69 from 80 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 12:
23 goes into 110 4 times with a remainder of 18.
The number 4 becomes the next digit in our result. 
Result so far: 23565.130434
Subtracting 92 from 110 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 13:
If we divide 180 by 23, we get 7 and a remainder of 19.
Write down 7 as next digit of the result. 
Result so far: 23565.1304347
Subtracting 161 from 180 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 14:
190 divided by 23 is 8 with a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 23565.13043478
If we subtract 184 from 190, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final result is 23565.13043478 with a remainder of 6e-09.