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

Moving on to step 1:
When dividing 3 by 23, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 23

Advancing to step 2:
39 divided by 23 is 1 with a remainder of 16.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 23 away from 39, we end up with 16.
Append the next digit (9) from the dividend to 16 and continue with: 169 / 23

Let's proceed to step 3:
169 divided by 23 is 7 with a remainder of 8.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
If we subtract 161 from 169, we get 8.
Append the next digit (9) from the dividend to 8 and continue with: 89 / 23

On to step 4:
23 goes into 89 3 times with a remainder of 20.
The next digit of our result is 3. 
Result so far: 173.0
If we take 69 away from 89, we end up with 20.
Bring next digit (5) of the dividend behind the 20 and repeat the process: 205 / 23

Advancing to step 5:
The number 23 fits into 205 8 times, leaving a remainder of 21.
Record the quotient 8 as the next digit in the result. 
Result so far: 1738.0
If we take 184 away from 205, we end up with 21.
Take the next digit (1) from the dividend and append it to 21, then repeat: 211 / 23

Step 6:
The number 23 fits into 211 9 times, leaving a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 17389.0
If we subtract 207 from 211, 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 7:
When dividing 40 by 23, we get 1 with a remainder of 17.
The number 1 becomes the next digit in our result. 
Result so far: 17389.1
Subtracting 23 from 40 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 8:
170 divided by 23 is 7 with a remainder of 9.
Record the quotient 7 as the next digit in the result. 
Result so far: 17389.17
If we take 161 away from 170, we end up 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.

Step 9:
23 goes into 90 3 times with a remainder of 21.
Write down 3 as next digit of the result. 
Result so far: 17389.173
Subtract 69 from 90 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.

Going ahead to step 10:
23 can be fit into 210 9 times, resulting in a remainder of 3.
Use 9 as the next digit of our solution. 
Result so far: 17389.1739
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.

Step 11:
23 can be fit into 30 1 times, resulting in a remainder of 7.
Record the quotient 1 as the next digit in the result. 
Result so far: 17389.17391
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.

Let's proceed to step 12:
70 divided by 23 is 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 17389.173913
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.

Moving on to step 13:
23 goes into 10 0 times with a remainder of 10.
The next digit of our result is 0. 
Result so far: 17389.173913
The remainder is 10 after subtracting 0 from 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 14:
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: 17389.17391304
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.

After the division, we end up with 17389.17391304 and a remainder of 8e-09.