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

Advancing to step 1:
23 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 23

Going ahead to step 2:
39 divided by 23 is 1 with a remainder of 16.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 23 away from 39, we end up with 16.
Take the next digit (8) from the dividend and append it to 16, then repeat: 168 / 23

Moving on to step 3:
23 can be fit into 168 7 times, resulting in a remainder of 7.
Use 7 as the next digit of our solution. 
Result so far: 17.0
Subtracting 161 from 168 leaves us with 7.
Take the next digit (1) from the dividend and append it to 7, then repeat: 71 / 23

Step 4:
When dividing 71 by 23, we get 3 with a remainder of 2.
The next digit of our result is 3. 
Result so far: 173.0
If we take 69 away from 71, we end up with 2.
Grab the next digit (9) from the dividend, add it to 2, then carry on: 29 / 23

Advancing to step 5:
The number 23 fits into 29 1 times, leaving a remainder of 6.
The number 1 becomes the next digit in our result. 
Result so far: 1731.0
If we take 23 away from 29, we end up with 6.
Fetch the next digit (9) from the dividend, attach it to 6 and continue: 69 / 23

Going ahead to step 6:
If we divide 69 by 23, we get 3 and a remainder of 0.
Write down 3 as next digit of the result. 
Result so far: 17313.0
Subtracting 69 from 69 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 7:
0 divided by 23 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 17313.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 8:
The number 23 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 17313.0
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 17313.0, and the remainder is 0.0.