We're dividing 873845 by 23 
The aim is to understand the frequency of 23 in 873845.

On to step 1:
23 goes into 8 0 times with a remainder of 8.
Record the quotient 0 as the next digit in 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

Step 2:
87 divided by 23 is 3 with a remainder of 18.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtracting 69 from 87 leaves us with 18.
Take the next digit (3) from the dividend and append it to 18, then repeat: 183 / 23

On to step 3:
183 divided by 23 is 7 with a remainder of 22.
The number 7 becomes the next digit in our result. 
Result so far: 37.0
Subtracting 161 from 183 leaves us with 22.
Include the next digit (8) from the dividend after 22, then repeat: 228 / 23

Let's proceed to step 4:
The number 23 fits into 228 9 times, leaving a remainder of 21.
The number 9 becomes the next digit in our result. 
Result so far: 379.0
If we subtract 207 from 228, we get 21.
Bring next digit (4) of the dividend behind the 21 and repeat the process: 214 / 23

Advancing to step 5:
23 can be fit into 214 9 times, resulting in a remainder of 7.
Use 9 as the next digit of our solution. 
Result so far: 3799.0
Subtract 207 from 214 to get 7.
Include the next digit (5) from the dividend after 7, then repeat: 75 / 23

Going ahead to step 6:
When dividing 75 by 23, we get 3 with a remainder of 6.
The next digit of our result is 3. 
Result so far: 37993.0
If we subtract 69 from 75, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 7:
23 goes into 60 2 times with a remainder of 14.
The next digit of our result is 2. 
Result so far: 37993.2
Deduct 46 from 60 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 8:
23 can be fit into 140 6 times, resulting in a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 37993.26
Deduct 138 from 140 and we're left 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 9:
If we divide 20 by 23, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 37993.26
Subtracting 0 from 20 leaves us 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.

Going ahead to step 10:
23 goes into 200 8 times with a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 37993.2608
Subtract 184 from 200 to 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.

Moving on to step 11:
If we divide 160 by 23, we get 6 and a remainder of 22.
The number 6 becomes the next digit in our result. 
Result so far: 37993.26086
Subtract 138 from 160 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 12:
220 divided by 23 is 9 with a remainder of 13.
The next digit of our result is 9. 
Result so far: 37993.260869
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.

Moving on to step 13:
23 can be fit into 130 5 times, resulting in a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 37993.2608695
The remainder is 15 after subtracting 115 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 14:
150 divided by 23 is 6 with a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 37993.26086956
If we take 138 away from 150, we end up 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.

Our division results in 37993.26086956 with a remaining 1.2e-08.