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

Going ahead to step 1:
The number 23 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Bring next digit (9) of the dividend behind the 4 and repeat the process: 49 / 23

Advancing to step 2:
23 can be fit into 49 2 times, resulting in a remainder of 3.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 46 from 49, we get 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 23

Advancing to step 3:
23 can be fit into 37 1 times, resulting in a remainder of 14.
Write down 1 as next digit of the result. 
Result so far: 21.0
Subtract 23 from 37 to get 14.
Fetch the next digit (5) from the dividend, attach it to 14 and continue: 145 / 23

Going ahead to step 4:
145 divided by 23 is 6 with a remainder of 7.
Use 6 as the next digit of our solution. 
Result so far: 216.0
If we take 138 away from 145, we end up with 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 23

Advancing to step 5:
When dividing 78 by 23, we get 3 with a remainder of 9.
The next digit of our result is 3. 
Result so far: 2163.0
The remainder is 9 after subtracting 69 from 78.
Fetch the next digit (5) from the dividend, attach it to 9 and continue: 95 / 23

Let's proceed to step 6:
23 goes into 95 4 times with a remainder of 3.
The next digit of our result is 4. 
Result so far: 21634.0
Subtracting 92 from 95 leaves us 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.

On to step 7:
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: 21634.1
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.

Moving on to step 8:
When dividing 70 by 23, we get 3 with a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 21634.13
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 9:
10 divided by 23 is 0 with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 21634.13
Subtracting 0 from 10 leaves us 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 10:
100 divided by 23 is 4 with a remainder of 8.
The next digit of our result is 4. 
Result so far: 21634.1304
If we subtract 92 from 100, we 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 11:
When dividing 80 by 23, we get 3 with a remainder of 11.
The number 3 becomes the next digit in our result. 
Result so far: 21634.13043
If we subtract 69 from 80, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 12:
When dividing 110 by 23, we get 4 with a remainder of 18.
The number 4 becomes the next digit in our result. 
Result so far: 21634.130434
If we subtract 92 from 110, we 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.

Advancing to step 13:
23 can be fit into 180 7 times, resulting in a remainder of 19.
Use 7 as the next digit of our solution. 
Result so far: 21634.1304347
If we subtract 161 from 180, we get 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 14:
The number 23 fits into 190 8 times, leaving a remainder of 6.
Put 8 as the next digit of the answer. 
Result so far: 21634.13043478
Subtracting 184 from 190 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

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