Let's divide 299968 by 23
The aim is to understand the frequency of 23 in 299968.

Step 1:
2 divided by 23 is 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 23

Let's proceed to step 2:
The number 23 fits into 29 1 times, leaving a remainder of 6.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 23 from 29 to get 6.
Append the next digit (9) from the dividend to 6 and continue with: 69 / 23

Let's proceed to step 3:
23 goes into 69 3 times with a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 13.0
Subtract 69 from 69 to get 0.
Fetch the next digit (9) from the dividend, attach it to 0 and continue: 9 / 23

Let's proceed to step 4:
When dividing 9 by 23, we get 0 with a remainder of 9.
The next digit of our result is 0. 
Result so far: 130.0
Subtracting 0 from 9 leaves us with 9.
Include the next digit (6) from the dividend after 9, then repeat: 96 / 23

Step 5:
23 can be fit into 96 4 times, resulting in a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 1304.0
Deduct 92 from 96 and we're left with 4.
Append the next digit (8) from the dividend to 4 and continue with: 48 / 23

On to step 6:
48 divided by 23 is 2 with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 13042.0
If we take 46 away from 48, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 7:
When dividing 20 by 23, we get 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 13042.0
If we take 0 away from 20, we end up 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 8:
If we divide 200 by 23, we get 8 and a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 13042.08
If we subtract 184 from 200, we 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.

Advancing to step 9:
23 goes into 160 6 times with a remainder of 22.
The number 6 becomes the next digit in our result. 
Result so far: 13042.086
Deduct 138 from 160 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 10:
23 can be fit into 220 9 times, resulting in a remainder of 13.
Put 9 as the next digit of the answer. 
Result so far: 13042.0869
If we take 207 away from 220, we end up 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.

Advancing to step 11:
130 divided by 23 is 5 with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 13042.08695
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.

Advancing to step 12:
When dividing 150 by 23, we get 6 with a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 13042.086956
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.

Let's proceed to step 13:
If we divide 120 by 23, we get 5 and a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 13042.0869565
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.

On to step 14:
The number 23 fits into 50 2 times, leaving a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 13042.08695652
If we take 46 away from 50, we end up 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.

The quotient of the division is 13042.08695652, and the remainder is 4e-09.