545587 ÷ 42 
The aim is to understand the frequency of 42 in 545587.

Step 1:
The number 42 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (4) from the dividend to 5 and continue with: 54 / 42

Step 2:
If we divide 54 by 42, we get 1 and a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 12 after subtracting 42 from 54.
Grab the next digit (5) from the dividend, add it to 12, then carry on: 125 / 42

Let's proceed to step 3:
When dividing 125 by 42, we get 2 with a remainder of 41.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
If we subtract 84 from 125, we get 41.
Append the next digit (5) from the dividend to 41 and continue with: 415 / 42

Going ahead to step 4:
42 can be fit into 415 9 times, resulting in a remainder of 37.
The number 9 becomes the next digit in our result. 
Result so far: 129.0
Deduct 378 from 415 and we're left with 37.
Take the next digit (8) from the dividend and append it to 37, then repeat: 378 / 42

Let's proceed to step 5:
The number 42 fits into 378 9 times, leaving a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 1299.0
If we take 378 away from 378, we end up with 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 42

Advancing to step 6:
42 goes into 7 0 times with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 12990.0
Subtract 0 from 7 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 7:
42 goes into 70 1 times with a remainder of 28.
Write down 1 as next digit of the result. 
Result so far: 12990.1
Subtract 42 from 70 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 8:
42 goes into 280 6 times with a remainder of 28.
Put 6 as the next digit of the answer. 
Result so far: 12990.16
The remainder is 28 after subtracting 252 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 9:
42 goes into 280 6 times with a remainder of 28.
The number 6 becomes the next digit in our result. 
Result so far: 12990.166
If we take 252 away from 280, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The quotient of the division is 12990.166, and the remainder is 0.0028.