We look at the division of 505137 by 1 
The aim is to understand the frequency of 1 in 505137.

On to step 1:
If we divide 5 by 1, we get 5 and a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we take 5 away from 5, we end up with 0.
Bring next digit (0) of the dividend behind the 0 and repeat the process: 0 / 1

Step 2:
The number 1 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 50.0
Subtract 0 from 0 to get 0.
Bring next digit (5) of the dividend behind the 0 and repeat the process: 5 / 1

Going ahead to step 3:
The number 1 fits into 5 5 times, leaving a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 505.0
Subtracting 5 from 5 leaves us with 0.
Bring next digit (1) of the dividend behind the 0 and repeat the process: 1 / 1

On to step 4:
The number 1 fits into 1 1 times, leaving a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 5051.0
Subtracting 1 from 1 leaves us with 0.
Include the next digit (3) from the dividend after 0, then repeat: 3 / 1

Step 5:
The number 1 fits into 3 3 times, leaving a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 50513.0
Subtract 3 from 3 to get 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 1

Let's proceed to step 6:
If we divide 7 by 1, we get 7 and a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 505137.0
Subtract 7 from 7 to get 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 7:
1 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 505137.0
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
When dividing 0 by 1, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 505137.0
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.

After the division, we end up with 505137.0 and a remainder of 0.0.