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

Going ahead to step 1:
The number 23 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 23

Moving on to step 2:
23 goes into 34 1 times with a remainder of 11.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 23 from 34 and we're left with 11.
Take the next digit (0) from the dividend and append it to 11, then repeat: 110 / 23

Step 3:
The number 23 fits into 110 4 times, leaving a remainder of 18.
The next digit of our result is 4. 
Result so far: 14.0
If we subtract 92 from 110, we get 18.
Fetch the next digit (3) from the dividend, attach it to 18 and continue: 183 / 23

Going ahead to step 4:
The number 23 fits into 183 7 times, leaving a remainder of 22.
Use 7 as the next digit of our solution. 
Result so far: 147.0
Subtracting 161 from 183 leaves us with 22.
Include the next digit (5) from the dividend after 22, then repeat: 225 / 23

Advancing to step 5:
225 divided by 23 is 9 with a remainder of 18.
Use 9 as the next digit of our solution. 
Result so far: 1479.0
Subtract 207 from 225 to get 18.
Append the next digit (9) from the dividend to 18 and continue with: 189 / 23

On to step 6:
When dividing 189 by 23, we get 8 with a remainder of 5.
Use 8 as the next digit of our solution. 
Result so far: 14798.0
Deduct 184 from 189 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
23 goes into 50 2 times with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 14798.2
The remainder is 4 after subtracting 46 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 8:
When dividing 40 by 23, we get 1 with a remainder of 17.
Put 1 as the next digit of the answer. 
Result so far: 14798.21
The remainder is 17 after subtracting 23 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 9:
If we divide 170 by 23, we get 7 and a remainder of 9.
The number 7 becomes the next digit in our result. 
Result so far: 14798.217
Subtract 161 from 170 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 10:
When dividing 90 by 23, we get 3 with a remainder of 21.
The next digit of our result is 3. 
Result so far: 14798.2173
Subtracting 69 from 90 leaves us with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 11:
23 can be fit into 210 9 times, resulting in a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 14798.21739
The remainder is 3 after subtracting 207 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 12:
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: 14798.217391
Deduct 23 from 30 and we're left 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.

Advancing to step 13:
When dividing 70 by 23, we get 3 with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 14798.2173913
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 14:
10 divided by 23 is 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 14798.2173913
Deduct 0 from 10 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.

The final result is 14798.2173913 with a remainder of 1e-08.