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

Let's proceed to step 1:
8 divided by 23 is 0 with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Grab the next digit (7) from the dividend, add it to 8, then carry on: 87 / 23

Let's proceed to step 2:
87 divided by 23 is 3 with a remainder of 18.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtract 69 from 87 to get 18.
Append the next digit (1) from the dividend to 18 and continue with: 181 / 23

On to step 3:
The number 23 fits into 181 7 times, leaving a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 37.0
Subtracting 161 from 181 leaves us with 20.
Fetch the next digit (5) from the dividend, attach it to 20 and continue: 205 / 23

Moving on to step 4:
If we divide 205 by 23, we get 8 and a remainder of 21.
Record the quotient 8 as the next digit in the result. 
Result so far: 378.0
Subtract 184 from 205 to get 21.
Grab the next digit (1) from the dividend, add it to 21, then carry on: 211 / 23

On to step 5:
23 can be fit into 211 9 times, resulting in a remainder of 4.
Write down 9 as next digit of the result. 
Result so far: 3789.0
Deduct 207 from 211 and we're left with 4.
Take the next digit (3) from the dividend and append it to 4, then repeat: 43 / 23

Step 6:
23 can be fit into 43 1 times, resulting in a remainder of 20.
Use 1 as the next digit of our solution. 
Result so far: 37891.0
If we subtract 23 from 43, we get 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 7:
The number 23 fits into 200 8 times, leaving a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 37891.8
If we take 184 away from 200, we end up 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 8:
When dividing 160 by 23, we get 6 with a remainder of 22.
The number 6 becomes the next digit in our result. 
Result so far: 37891.86
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.

Step 9:
23 goes into 220 9 times with a remainder of 13.
Put 9 as the next digit of the answer. 
Result so far: 37891.869
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 10:
When dividing 130 by 23, we get 5 with a remainder of 15.
The next digit of our result is 5. 
Result so far: 37891.8695
If we subtract 115 from 130, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 11:
150 divided by 23 is 6 with a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 37891.86956
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.

Going ahead to step 12:
The number 23 fits into 120 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 37891.869565
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 13:
23 can be fit into 50 2 times, resulting in a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 37891.8695652
If we subtract 46 from 50, we 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.

Advancing to step 14:
The number 23 fits into 40 1 times, leaving a remainder of 17.
The number 1 becomes the next digit in our result. 
Result so far: 37891.86956521
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.

In conclusion, the division gives 37891.86956521 with a balance of 1.7e-08.