Let's divide 940497 by 1
The aim is to understand the frequency of 1 in 940497.

On to step 1:
1 can be fit into 9 9 times, resulting in a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 9.0
If we subtract 9 from 9, we get 0.
Grab the next digit (4) from the dividend, add it to 0, then carry on: 4 / 1

Advancing to step 2:
1 can be fit into 4 4 times, resulting in a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 94.0
If we take 4 away from 4, we end up with 0.
Take the next digit (0) from the dividend and append it to 0, then repeat: 0 / 1

Going ahead to step 3:
If we divide 0 by 1, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 940.0
The remainder is 0 after subtracting 0 from 0.
Bring next digit (4) of the dividend behind the 0 and repeat the process: 4 / 1

On to step 4:
1 can be fit into 4 4 times, resulting in a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 9404.0
If we take 4 away from 4, we end up with 0.
Grab the next digit (9) from the dividend, add it to 0, then carry on: 9 / 1

Going ahead to step 5:
If we divide 9 by 1, we get 9 and a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 94049.0
Subtract 9 from 9 to get 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 1

On to step 6:
The number 1 fits into 7 7 times, leaving a remainder of 0.
The number 7 becomes the next digit in our result. 
Result so far: 940497.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.

On to step 7:
If we divide 0 by 1, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 940497.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.

Advancing to step 8:
0 divided by 1 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 940497.0
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.

Our division results in 940497.0 with a remaining 0.0.