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

Advancing to step 1:
5 divided by 1 is 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Subtracting 5 from 5 leaves us with 0.
Grab the next digit (0) from the dividend, add it to 0, then carry on: 0 / 1

Moving on to step 2:
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: 50.0
Subtract 0 from 0 to get 0.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 1

Moving on to step 3:
If we divide 7 by 1, we get 7 and a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 507.0
If we take 7 away from 7, we end up with 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 1

On to step 4:
If we divide 7 by 1, we get 7 and a remainder of 0.
The number 7 becomes the next digit in our result. 
Result so far: 5077.0
Subtracting 7 from 7 leaves us with 0.
Fetch the next digit (1) from the dividend, attach it to 0 and continue: 1 / 1

Let's proceed to step 5:
1 goes into 1 1 times with a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 50771.0
If we take 1 away from 1, we end up with 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 1

Let's proceed to step 6:
The number 1 fits into 7 7 times, leaving a remainder of 0.
Record the quotient 7 as the next digit in the result. 
Result so far: 507717.0
The remainder is 0 after subtracting 7 from 7.
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 7:
0 divided by 1 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 507717.0
Deduct 0 from 0 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.

Moving on to step 8:
1 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 507717.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.

The final result is 507717.0 with a remainder of 0.0.