We divide 402874 by 1
The aim is to understand the frequency of 1 in 402874.

Advancing to step 1:
1 can be fit into 4 4 times, resulting in a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Deduct 4 from 4 and we're left with 0.
Bring next digit (0) of the dividend behind the 0 and repeat the process: 0 / 1

On to 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: 40.0
Deduct 0 from 0 and we're left with 0.
Fetch the next digit (2) from the dividend, attach it to 0 and continue: 2 / 1

Going ahead to step 3:
1 can be fit into 2 2 times, resulting in a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 402.0
Subtract 2 from 2 to get 0.
Bring next digit (8) of the dividend behind the 0 and repeat the process: 8 / 1

Advancing to step 4:
The number 1 fits into 8 8 times, leaving a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 4028.0
Subtract 8 from 8 to get 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 1

Advancing to step 5:
7 divided by 1 is 7 with a remainder of 0.
Record the quotient 7 as the next digit in the result. 
Result so far: 40287.0
The remainder is 0 after subtracting 7 from 7.
Append the next digit (4) from the dividend to 0 and continue with: 4 / 1

Moving on to step 6:
1 goes into 4 4 times with a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 402874.0
The remainder is 0 after subtracting 4 from 4.
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:
The number 1 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 402874.0
Subtracting 0 from 0 leaves us 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.

Step 8:
If we divide 0 by 1, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 402874.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.

The final result is 402874.0 with a remainder of 0.0.