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

Step 1:
23 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 23

Advancing to step 2:
When dividing 50 by 23, we get 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Deduct 46 from 50 and we're left with 4.
Include the next digit (3) from the dividend after 4, then repeat: 43 / 23

Step 3:
23 can be fit into 43 1 times, resulting in a remainder of 20.
Write down 1 as next digit of the result. 
Result so far: 21.0
The remainder is 20 after subtracting 23 from 43.
Fetch the next digit (2) from the dividend, attach it to 20 and continue: 202 / 23

Moving on to step 4:
When dividing 202 by 23, we get 8 with a remainder of 18.
Write down 8 as next digit of the result. 
Result so far: 218.0
Subtracting 184 from 202 leaves us with 18.
Bring next digit (3) of the dividend behind the 18 and repeat the process: 183 / 23

On to step 5:
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: 2187.0
If we subtract 161 from 183, we get 22.
Take the next digit (8) from the dividend and append it to 22, then repeat: 228 / 23

Let's proceed to step 6:
The number 23 fits into 228 9 times, leaving a remainder of 21.
Write down 9 as next digit of the result. 
Result so far: 21879.0
If we take 207 away from 228, we end up 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.

On to step 7:
23 goes into 210 9 times with a remainder of 3.
Write down 9 as next digit of the result. 
Result so far: 21879.9
Deduct 207 from 210 and we're left 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.

Moving on to step 8:
When dividing 30 by 23, we get 1 with a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 21879.91
If we take 23 away from 30, we end up 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 9:
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: 21879.913
Deduct 69 from 70 and we're left 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.

Going ahead to step 10:
23 goes into 10 0 times with a remainder of 10.
The next digit of our result is 0. 
Result so far: 21879.913
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.

Let's proceed to step 11:
100 divided by 23 is 4 with a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 21879.91304
Subtracting 92 from 100 leaves us 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.

Step 12:
If we divide 80 by 23, we get 3 and a remainder of 11.
Put 3 as the next digit of the answer. 
Result so far: 21879.913043
Subtracting 69 from 80 leaves us 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.

Let's proceed to step 13:
If we divide 110 by 23, we get 4 and a remainder of 18.
Record the quotient 4 as the next digit in the result. 
Result so far: 21879.9130434
The remainder is 18 after subtracting 92 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 14:
When dividing 180 by 23, we get 7 with a remainder of 19.
Use 7 as the next digit of our solution. 
Result so far: 21879.91304347
Deduct 161 from 180 and we're left 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.

The final outcome is 21879.91304347, with a leftover of 1.9e-08.