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

Moving on to step 1:
When dividing 5 by 23, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (6) from the dividend to 5 and continue with: 56 / 23

Let's proceed to step 2:
56 divided by 23 is 2 with a remainder of 10.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 46 from 56, we get 10.
Take the next digit (5) from the dividend and append it to 10, then repeat: 105 / 23

Moving on to step 3:
23 goes into 105 4 times with a remainder of 13.
The number 4 becomes the next digit in our result. 
Result so far: 24.0
Deduct 92 from 105 and we're left with 13.
Include the next digit (8) from the dividend after 13, then repeat: 138 / 23

Step 4:
When dividing 138 by 23, we get 6 with a remainder of 0.
Write down 6 as next digit of the result. 
Result so far: 246.0
Subtracting 138 from 138 leaves us with 0.
Grab the next digit (6) from the dividend, add it to 0, then carry on: 6 / 23

Let's proceed to step 5:
When dividing 6 by 23, we get 0 with a remainder of 6.
The next digit of our result is 0. 
Result so far: 2460.0
The remainder is 6 after subtracting 0 from 6.
Grab the next digit (0) from the dividend, add it to 6, then carry on: 60 / 23

On to step 6:
23 goes into 60 2 times with a remainder of 14.
Write down 2 as next digit of the result. 
Result so far: 24602.0
The remainder is 14 after subtracting 46 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 7:
The number 23 fits into 140 6 times, leaving a remainder of 2.
The next digit of our result is 6. 
Result so far: 24602.6
If we subtract 138 from 140, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 8:
23 can be fit into 20 0 times, resulting in a remainder of 20.
The next digit of our result is 0. 
Result so far: 24602.6
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 9:
When dividing 200 by 23, we get 8 with a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 24602.608
Subtract 184 from 200 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 10:
The number 23 fits into 160 6 times, leaving a remainder of 22.
The number 6 becomes the next digit in our result. 
Result so far: 24602.6086
If we subtract 138 from 160, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 11:
220 divided by 23 is 9 with a remainder of 13.
The number 9 becomes the next digit in our result. 
Result so far: 24602.60869
Subtracting 207 from 220 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 12:
23 can be fit into 130 5 times, resulting in a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 24602.608695
Deduct 115 from 130 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 13:
If we divide 150 by 23, we get 6 and a remainder of 12.
The next digit of our result is 6. 
Result so far: 24602.6086956
Subtracting 138 from 150 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 14:
120 divided by 23 is 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 24602.60869565
Subtracting 115 from 120 leaves us 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.

After the division, we end up with 24602.60869565 and a remainder of 5e-09.