We're dividing 500235 by 23 
The aim is to understand the frequency of 23 in 500235.

Advancing to step 1:
23 can be fit into 5 0 times, resulting in a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 23

Moving on to step 2:
50 divided by 23 is 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 4 after subtracting 46 from 50.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 23

Let's proceed to step 3:
When dividing 40 by 23, we get 1 with a remainder of 17.
Use 1 as the next digit of our solution. 
Result so far: 21.0
Subtract 23 from 40 to get 17.
Bring next digit (2) of the dividend behind the 17 and repeat the process: 172 / 23

Moving on to step 4:
23 can be fit into 172 7 times, resulting in a remainder of 11.
Put 7 as the next digit of the answer. 
Result so far: 217.0
Deduct 161 from 172 and we're left with 11.
Bring next digit (3) of the dividend behind the 11 and repeat the process: 113 / 23

Step 5:
23 can be fit into 113 4 times, resulting in a remainder of 21.
The number 4 becomes the next digit in our result. 
Result so far: 2174.0
Deduct 92 from 113 and we're left with 21.
Grab the next digit (5) from the dividend, add it to 21, then carry on: 215 / 23

Moving on to step 6:
23 goes into 215 9 times with a remainder of 8.
Use 9 as the next digit of our solution. 
Result so far: 21749.0
Subtract 207 from 215 to 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.

Let's proceed to step 7:
When dividing 80 by 23, we get 3 with a remainder of 11.
Use 3 as the next digit of our solution. 
Result so far: 21749.3
If we take 69 away from 80, we end up 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.

Moving on to step 8:
23 can be fit into 110 4 times, resulting in a remainder of 18.
Put 4 as the next digit of the answer. 
Result so far: 21749.34
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.

Moving on to step 9:
23 can be fit into 180 7 times, resulting in a remainder of 19.
Record the quotient 7 as the next digit in the result. 
Result so far: 21749.347
Subtract 161 from 180 to 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.

Let's proceed to step 10:
When dividing 190 by 23, we get 8 with a remainder of 6.
The next digit of our result is 8. 
Result so far: 21749.3478
The remainder is 6 after subtracting 184 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 11:
23 goes into 60 2 times with a remainder of 14.
The number 2 becomes the next digit in our result. 
Result so far: 21749.34782
If we take 46 away from 60, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 12:
The number 23 fits into 140 6 times, leaving a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 21749.347826
If we subtract 138 from 140, we 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.

Step 13:
When dividing 20 by 23, we get 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 21749.347826
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 14:
When dividing 200 by 23, we get 8 with a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 21749.34782608
If we take 184 away from 200, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

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