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

Step 1:
6 divided by 23 is 0 with a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Grab the next digit (4) from the dividend, add it to 6, then carry on: 64 / 23

On to step 2:
23 can be fit into 64 2 times, resulting in a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 46 away from 64, we end up with 18.
Include the next digit (2) from the dividend after 18, then repeat: 182 / 23

Let's proceed to step 3:
When dividing 182 by 23, we get 7 with a remainder of 21.
Record the quotient 7 as the next digit in the result. 
Result so far: 27.0
The remainder is 21 after subtracting 161 from 182.
Take the next digit (3) from the dividend and append it to 21, then repeat: 213 / 23

Going ahead to step 4:
23 can be fit into 213 9 times, resulting in a remainder of 6.
Use 9 as the next digit of our solution. 
Result so far: 279.0
The remainder is 6 after subtracting 207 from 213.
Append the next digit (1) from the dividend to 6 and continue with: 61 / 23

On to step 5:
61 divided by 23 is 2 with a remainder of 15.
The number 2 becomes the next digit in our result. 
Result so far: 2792.0
If we take 46 away from 61, we end up with 15.
Take the next digit (0) from the dividend and append it to 15, then repeat: 150 / 23

Let's proceed to step 6:
23 can be fit into 150 6 times, resulting in a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 27926.0
Subtract 138 from 150 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 7:
120 divided by 23 is 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 27926.5
Subtract 115 from 120 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 8:
The number 23 fits into 50 2 times, leaving a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 27926.52
Subtract 46 from 50 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 9:
The number 23 fits into 40 1 times, leaving a remainder of 17.
Record the quotient 1 as the next digit in the result. 
Result so far: 27926.521
If we subtract 23 from 40, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 10:
The number 23 fits into 170 7 times, leaving a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 27926.5217
If we take 161 away from 170, we end up 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.

Let's proceed to step 11:
90 divided by 23 is 3 with a remainder of 21.
Record the quotient 3 as the next digit in the result. 
Result so far: 27926.52173
Subtract 69 from 90 to 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.

Step 12:
23 goes into 210 9 times with a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 27926.521739
Subtracting 207 from 210 leaves us 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.

Step 13:
30 divided by 23 is 1 with a remainder of 7.
Record the quotient 1 as the next digit in the result. 
Result so far: 27926.5217391
The remainder is 7 after subtracting 23 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 14:
70 divided by 23 is 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 27926.52173913
Deduct 69 from 70 and we're left 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.

Our division results in 27926.52173913 with a remaining 1e-09.