542845 divided by 1 
The aim is to understand the frequency of 1 in 542845.

On to step 1:
When dividing 5 by 1, we get 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
The remainder is 0 after subtracting 5 from 5.
Bring next digit (4) of the dividend behind the 0 and repeat the process: 4 / 1

Going ahead to step 2:
The number 1 fits into 4 4 times, leaving a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 54.0
The remainder is 0 after subtracting 4 from 4.
Include the next digit (2) from the dividend after 0, then repeat: 2 / 1

On to step 3:
When dividing 2 by 1, we get 2 with a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 542.0
The remainder is 0 after subtracting 2 from 2.
Append the next digit (8) from the dividend to 0 and continue with: 8 / 1

Going ahead to step 4:
8 divided by 1 is 8 with a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 5428.0
The remainder is 0 after subtracting 8 from 8.
Include the next digit (4) from the dividend after 0, then repeat: 4 / 1

On to step 5:
The number 1 fits into 4 4 times, leaving a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 54284.0
Subtract 4 from 4 to get 0.
Include the next digit (5) from the dividend after 0, then repeat: 5 / 1

Advancing to step 6:
1 can be fit into 5 5 times, resulting in a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 542845.0
Subtracting 5 from 5 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.

Going ahead to step 7:
The number 1 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 542845.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:
When dividing 0 by 1, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 542845.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 outcome is 542845.0, with a leftover of 0.0.