Let's divide 501389 by 36
The aim is to understand the frequency of 36 in 501389.

Going ahead to step 1:
36 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
If we subtract 0 from 5, we get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 36

Going ahead to step 2:
36 goes into 50 1 times with a remainder of 14.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 36 from 50, we get 14.
Take the next digit (1) from the dividend and append it to 14, then repeat: 141 / 36

Advancing to step 3:
36 can be fit into 141 3 times, resulting in a remainder of 33.
Use 3 as the next digit of our solution. 
Result so far: 13.0
Deduct 108 from 141 and we're left with 33.
Include the next digit (3) from the dividend after 33, then repeat: 333 / 36

Going ahead to step 4:
333 divided by 36 is 9 with a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 139.0
Subtract 324 from 333 to get 9.
Bring next digit (8) of the dividend behind the 9 and repeat the process: 98 / 36

On to step 5:
36 goes into 98 2 times with a remainder of 26.
Record the quotient 2 as the next digit in the result. 
Result so far: 1392.0
If we subtract 72 from 98, we get 26.
Append the next digit (9) from the dividend to 26 and continue with: 269 / 36

Going ahead to step 6:
269 divided by 36 is 7 with a remainder of 17.
The number 7 becomes the next digit in our result. 
Result so far: 13927.0
The remainder is 17 after subtracting 252 from 269.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 7:
The number 36 fits into 170 4 times, leaving a remainder of 26.
The next digit of our result is 4. 
Result so far: 13927.4
Deduct 144 from 170 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 8:
When dividing 260 by 36, we get 7 with a remainder of 8.
Record the quotient 7 as the next digit in the result. 
Result so far: 13927.47
Subtracting 252 from 260 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.

On to step 9:
If we divide 80 by 36, we get 2 and a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 13927.472
Deduct 72 from 80 and we're left 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.

Advancing to step 10:
When dividing 80 by 36, we get 2 with a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 13927.4722
If we take 72 away from 80, we end up 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.

Our division results in 13927.4722 with a remaining 8e-05.