We look at the division of 504985 by 50 
The aim is to understand the frequency of 50 in 504985.

Let's proceed to step 1:
50 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 50

Going ahead to step 2:
50 can be fit into 50 1 times, resulting in a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 50 from 50 leaves us with 0.
Grab the next digit (4) from the dividend, add it to 0, then carry on: 4 / 50

Going ahead to step 3:
50 goes into 4 0 times with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 10.0
If we subtract 0 from 4, we get 4.
Include the next digit (9) from the dividend after 4, then repeat: 49 / 50

On to step 4:
The number 50 fits into 49 0 times, leaving a remainder of 49.
Record the quotient 0 as the next digit in the result. 
Result so far: 100.0
If we subtract 0 from 49, we get 49.
Include the next digit (8) from the dividend after 49, then repeat: 498 / 50

Moving on to step 5:
50 can be fit into 498 9 times, resulting in a remainder of 48.
The next digit of our result is 9. 
Result so far: 1009.0
The remainder is 48 after subtracting 450 from 498.
Bring next digit (5) of the dividend behind the 48 and repeat the process: 485 / 50

Advancing to step 6:
The number 50 fits into 485 9 times, leaving a remainder of 35.
Use 9 as the next digit of our solution. 
Result so far: 10099.0
If we take 450 away from 485, we end up with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Step 7:
If we divide 350 by 50, we get 7 and a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 10099.7
Deduct 350 from 350 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 8:
The number 50 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 10099.7
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 9:
0 divided by 50 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 10099.7
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 10099.7, with a leftover of 0.0.