We divide 840027 by 23
The aim is to understand the frequency of 23 in 840027.

Going ahead to step 1:
When dividing 8 by 23, we get 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Append the next digit (4) from the dividend to 8 and continue with: 84 / 23

On to step 2:
When dividing 84 by 23, we get 3 with a remainder of 15.
The next digit of our result is 3. 
Result so far: 3.0
If we take 69 away from 84, we end up with 15.
Include the next digit (0) from the dividend after 15, then repeat: 150 / 23

Going ahead to step 3:
23 can be fit into 150 6 times, resulting in a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 36.0
Subtract 138 from 150 to get 12.
Take the next digit (0) from the dividend and append it to 12, then repeat: 120 / 23

Going ahead to step 4:
If we divide 120 by 23, we get 5 and a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 365.0
Subtracting 115 from 120 leaves us with 5.
Bring next digit (2) of the dividend behind the 5 and repeat the process: 52 / 23

Let's proceed to step 5:
23 can be fit into 52 2 times, resulting in a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 3652.0
If we subtract 46 from 52, we get 6.
Include the next digit (7) from the dividend after 6, then repeat: 67 / 23

On to step 6:
The number 23 fits into 67 2 times, leaving a remainder of 21.
The number 2 becomes the next digit in our result. 
Result so far: 36522.0
Subtract 46 from 67 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.

On to step 7:
The number 23 fits into 210 9 times, leaving a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 36522.9
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.

Moving on to step 8:
If we divide 30 by 23, we get 1 and a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 36522.91
If we subtract 23 from 30, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 9:
23 goes into 70 3 times with a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 36522.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.

Let's proceed to step 10:
23 goes into 10 0 times with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 36522.913
Subtract 0 from 10 to get 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:
If we divide 100 by 23, we get 4 and a remainder of 8.
The next digit of our result is 4. 
Result so far: 36522.91304
Subtracting 92 from 100 leaves us 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.

Moving on to step 12:
The number 23 fits into 80 3 times, leaving a remainder of 11.
Put 3 as the next digit of the answer. 
Result so far: 36522.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.

Let's proceed 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: 36522.9130434
If we subtract 92 from 110, we get 18.
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:
The number 23 fits into 180 7 times, leaving a remainder of 19.
Record the quotient 7 as the next digit in the result. 
Result so far: 36522.91304347
Deduct 161 from 180 and we're left 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 result is 36522.91304347 with a remainder of 1.9e-08.