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

On to step 1:
When dividing 1 by 23, we get 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 23

Moving on to step 2:
23 can be fit into 12 0 times, resulting in a remainder of 12.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 12 and we're left with 12.
Include the next digit (1) from the dividend after 12, then repeat: 121 / 23

Moving on to step 3:
121 divided by 23 is 5 with a remainder of 6.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we take 115 away from 121, we end up with 6.
Fetch the next digit (3) from the dividend, attach it to 6 and continue: 63 / 23

On to step 4:
63 divided by 23 is 2 with a remainder of 17.
The number 2 becomes the next digit in our result. 
Result so far: 52.0
Subtract 46 from 63 to get 17.
Grab the next digit (9) from the dividend, add it to 17, then carry on: 179 / 23

Moving on to step 5:
23 goes into 179 7 times with a remainder of 18.
The next digit of our result is 7. 
Result so far: 527.0
If we take 161 away from 179, we end up with 18.
Append the next digit (6) from the dividend to 18 and continue with: 186 / 23

Step 6:
23 goes into 186 8 times with a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 5278.0
Subtracting 184 from 186 leaves us 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.

Moving on to step 7:
23 goes into 20 0 times with a remainder of 20.
The next digit of our result is 0. 
Result so far: 5278.0
Deduct 0 from 20 and we're left 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:
When dividing 200 by 23, we get 8 with a remainder of 16.
The next digit of our result is 8. 
Result so far: 5278.08
Subtracting 184 from 200 leaves us with 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:
160 divided by 23 is 6 with a remainder of 22.
Put 6 as the next digit of the answer. 
Result so far: 5278.086
Subtracting 138 from 160 leaves us 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.

On to step 10:
When dividing 220 by 23, we get 9 with a remainder of 13.
The number 9 becomes the next digit in our result. 
Result so far: 5278.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.

Step 11:
130 divided by 23 is 5 with a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 5278.08695
Subtracting 115 from 130 leaves us 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 12:
23 can be fit into 150 6 times, resulting in a remainder of 12.
The next digit of our result is 6. 
Result so far: 5278.086956
If we subtract 138 from 150, we 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.

Advancing to step 13:
The number 23 fits into 120 5 times, leaving a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 5278.0869565
Deduct 115 from 120 and we're left 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.

Going ahead to step 14:
If we divide 50 by 23, we get 2 and a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 5278.08695652
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.

The final outcome is 5278.08695652, with a leftover of 4e-09.