874021 divided by 23 
The aim is to understand the frequency of 23 in 874021.

Step 1:
23 can be fit into 8 0 times, resulting in a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 23

Going ahead to step 2:
23 goes into 87 3 times with a remainder of 18.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we take 69 away from 87, we end up with 18.
Grab the next digit (4) from the dividend, add it to 18, then carry on: 184 / 23

On to step 3:
The number 23 fits into 184 8 times, leaving a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 38.0
If we take 184 away from 184, we end up with 0.
Bring next digit (0) of the dividend behind the 0 and repeat the process: 0 / 23

Moving on to step 4:
23 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 380.0
If we take 0 away from 0, we end up with 0.
Append the next digit (2) from the dividend to 0 and continue with: 2 / 23

Going ahead to step 5:
2 divided by 23 is 0 with a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 3800.0
Subtract 0 from 2 to get 2.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 23

Going ahead to step 6:
23 goes into 21 0 times with a remainder of 21.
Use 0 as the next digit of our solution. 
Result so far: 38000.0
If we subtract 0 from 21, we 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.

Moving on to step 7:
If we divide 210 by 23, we get 9 and a remainder of 3.
The next digit of our result is 9. 
Result so far: 38000.9
Subtract 207 from 210 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 8:
23 can be fit into 30 1 times, resulting in a remainder of 7.
The next digit of our result is 1. 
Result so far: 38000.91
The remainder is 7 after subtracting 23 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 9:
The number 23 fits into 70 3 times, leaving a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 38000.913
Subtracting 69 from 70 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 10:
The number 23 fits into 10 0 times, leaving a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 38000.913
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 11:
When dividing 100 by 23, we get 4 with a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 38000.91304
If we take 92 away from 100, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 12:
The number 23 fits into 80 3 times, leaving a remainder of 11.
The number 3 becomes the next digit in our result. 
Result so far: 38000.913043
Subtracting 69 from 80 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 13:
110 divided by 23 is 4 with a remainder of 18.
The next digit of our result is 4. 
Result so far: 38000.9130434
The remainder is 18 after subtracting 92 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 14:
If we divide 180 by 23, we get 7 and a remainder of 19.
The number 7 becomes the next digit in our result. 
Result so far: 38000.91304347
If we take 161 away from 180, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The final outcome is 38000.91304347, with a leftover of 1.9e-08.