Let's divide 501227 by 15
The aim is to understand the frequency of 15 in 501227.

Advancing to step 1:
15 goes into 5 0 times with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 15

On to step 2:
If we divide 50 by 15, we get 3 and a remainder of 5.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we subtract 45 from 50, we get 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 15

Moving on to step 3:
If we divide 51 by 15, we get 3 and a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 33.0
If we take 45 away from 51, we end up with 6.
Append the next digit (2) from the dividend to 6 and continue with: 62 / 15

On to step 4:
62 divided by 15 is 4 with a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 334.0
The remainder is 2 after subtracting 60 from 62.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 15

Step 5:
When dividing 22 by 15, we get 1 with a remainder of 7.
The next digit of our result is 1. 
Result so far: 3341.0
If we take 15 away from 22, we end up with 7.
Bring next digit (7) of the dividend behind the 7 and repeat the process: 77 / 15

Let's proceed to step 6:
The number 15 fits into 77 5 times, leaving a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 33415.0
Subtracting 75 from 77 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
The number 15 fits into 20 1 times, leaving a remainder of 5.
The next digit of our result is 1. 
Result so far: 33415.1
Deduct 15 from 20 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.

Step 8:
50 divided by 15 is 3 with a remainder of 5.
Put 3 as the next digit of the answer. 
Result so far: 33415.13
The remainder is 5 after subtracting 45 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 9:
When dividing 50 by 15, we get 3 with a remainder of 5.
Use 3 as the next digit of our solution. 
Result so far: 33415.133
Subtracting 45 from 50 leaves us 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.

In conclusion, the division gives 33415.133 with a balance of 0.0005.