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

Let's proceed to step 1:
The number 23 fits into 7 0 times, leaving a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 23

Let's proceed to step 2:
When dividing 79 by 23, we get 3 with a remainder of 10.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
The remainder is 10 after subtracting 69 from 79.
Append the next digit (7) from the dividend to 10 and continue with: 107 / 23

Moving on to step 3:
23 goes into 107 4 times with a remainder of 15.
Put 4 as the next digit of the answer. 
Result so far: 34.0
Subtracting 92 from 107 leaves us with 15.
Fetch the next digit (4) from the dividend, attach it to 15 and continue: 154 / 23

Let's proceed to step 4:
If we divide 154 by 23, we get 6 and a remainder of 16.
Record the quotient 6 as the next digit in the result. 
Result so far: 346.0
If we take 138 away from 154, we end up with 16.
Take the next digit (9) from the dividend and append it to 16, then repeat: 169 / 23

Advancing to step 5:
23 goes into 169 7 times with a remainder of 8.
Use 7 as the next digit of our solution. 
Result so far: 3467.0
Subtract 161 from 169 to get 8.
Bring next digit (1) of the dividend behind the 8 and repeat the process: 81 / 23

Let's proceed to step 6:
When dividing 81 by 23, we get 3 with a remainder of 12.
Record the quotient 3 as the next digit in the result. 
Result so far: 34673.0
Subtract 69 from 81 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.

Going ahead to step 7:
The number 23 fits into 120 5 times, leaving a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 34673.5
If we subtract 115 from 120, we 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.

Let's proceed to step 8:
50 divided by 23 is 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 34673.52
Deduct 46 from 50 and we're left 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.

Going ahead to step 9:
40 divided by 23 is 1 with a remainder of 17.
Record the quotient 1 as the next digit in the result. 
Result so far: 34673.521
Deduct 23 from 40 and we're left with 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.
Record the quotient 7 as the next digit in the result. 
Result so far: 34673.5217
Deduct 161 from 170 and we're left 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.

Moving on to step 11:
90 divided by 23 is 3 with a remainder of 21.
The next digit of our result is 3. 
Result so far: 34673.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 can be fit into 210 9 times, resulting in a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 34673.521739
If we take 207 away from 210, we end up 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.

Let's proceed to step 13:
The number 23 fits into 30 1 times, leaving a remainder of 7.
Use 1 as the next digit of our solution. 
Result so far: 34673.5217391
If we take 23 away from 30, we end up 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.

On to step 14:
23 goes into 70 3 times with a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 34673.52173913
The remainder is 1 after subtracting 69 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

The quotient of the division is 34673.52173913, and the remainder is 1e-09.