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

Advancing to step 1:
When dividing 3 by 23, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (4) from the dividend to 3 and continue with: 34 / 23

Advancing to step 2:
23 goes into 34 1 times with a remainder of 11.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 23 from 34 and we're left with 11.
Take the next digit (5) from the dividend and append it to 11, then repeat: 115 / 23

Going ahead to step 3:
23 can be fit into 115 5 times, resulting in a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
Subtracting 115 from 115 leaves us with 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 23

Advancing to step 4:
23 goes into 8 0 times with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 150.0
If we subtract 0 from 8, we get 8.
Grab the next digit (3) from the dividend, add it to 8, then carry on: 83 / 23

On to step 5:
When dividing 83 by 23, we get 3 with a remainder of 14.
Put 3 as the next digit of the answer. 
Result so far: 1503.0
The remainder is 14 after subtracting 69 from 83.
Take the next digit (8) from the dividend and append it to 14, then repeat: 148 / 23

Going ahead to step 6:
23 can be fit into 148 6 times, resulting in a remainder of 10.
Put 6 as the next digit of the answer. 
Result so far: 15036.0
Deduct 138 from 148 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.

Moving on to step 7:
23 goes into 100 4 times with a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 15036.4
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.

Advancing to step 8:
If we divide 80 by 23, we get 3 and a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 15036.43
Deduct 69 from 80 and we're left 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.

Going ahead to step 9:
23 goes into 110 4 times with a remainder of 18.
Put 4 as the next digit of the answer. 
Result so far: 15036.434
Subtract 92 from 110 to 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.

Let's proceed to step 10:
23 can be fit into 180 7 times, resulting in a remainder of 19.
Write down 7 as next digit of the result. 
Result so far: 15036.4347
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.

On to step 11:
When dividing 190 by 23, we get 8 with a remainder of 6.
Put 8 as the next digit of the answer. 
Result so far: 15036.43478
If we subtract 184 from 190, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 12:
When dividing 60 by 23, we get 2 with a remainder of 14.
Write down 2 as next digit of the result. 
Result so far: 15036.434782
Subtract 46 from 60 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 13:
23 can be fit into 140 6 times, resulting in a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 15036.4347826
Subtract 138 from 140 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 14:
20 divided by 23 is 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 15036.4347826
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

After the division, we end up with 15036.4347826 and a remainder of 2e-08.