Let's divide 180866 by 23
The aim is to understand the frequency of 23 in 180866.

Advancing to step 1:
1 divided by 23 is 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 23

Going ahead to step 2:
18 divided by 23 is 0 with a remainder of 18.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 18, we end up with 18.
Fetch the next digit (0) from the dividend, attach it to 18 and continue: 180 / 23

Advancing to step 3:
23 goes into 180 7 times with a remainder of 19.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
The remainder is 19 after subtracting 161 from 180.
Append the next digit (8) from the dividend to 19 and continue with: 198 / 23

Moving on to step 4:
When dividing 198 by 23, we get 8 with a remainder of 14.
The number 8 becomes the next digit in our result. 
Result so far: 78.0
Subtract 184 from 198 to get 14.
Fetch the next digit (6) from the dividend, attach it to 14 and continue: 146 / 23

On to step 5:
When dividing 146 by 23, we get 6 with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 786.0
The remainder is 8 after subtracting 138 from 146.
Bring next digit (6) of the dividend behind the 8 and repeat the process: 86 / 23

Advancing to step 6:
23 goes into 86 3 times with a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 7863.0
If we subtract 69 from 86, 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.

Step 7:
23 can be fit into 170 7 times, resulting in a remainder of 9.
Record the quotient 7 as the next digit in the result. 
Result so far: 7863.7
Subtracting 161 from 170 leaves us 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 8:
If we divide 90 by 23, we get 3 and a remainder of 21.
The next digit of our result is 3. 
Result so far: 7863.73
If we subtract 69 from 90, 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 9:
When dividing 210 by 23, we get 9 with a remainder of 3.
Use 9 as the next digit of our solution. 
Result so far: 7863.739
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.

Advancing to step 10:
When dividing 30 by 23, we get 1 with a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 7863.7391
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.

Step 11:
70 divided by 23 is 3 with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 7863.73913
If we take 69 away from 70, we end up 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.

Advancing to step 12:
23 can be fit into 10 0 times, resulting in a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 7863.73913
If we subtract 0 from 10, we 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.

Moving on to step 13:
The number 23 fits into 100 4 times, leaving a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 7863.7391304
Subtract 92 from 100 to get 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 14:
23 can be fit into 80 3 times, resulting in a remainder of 11.
The next digit of our result is 3. 
Result so far: 7863.73913043
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.

The final outcome is 7863.73913043, with a leftover of 1.1e-08.