We look at the division of 8867057 by 542 
The aim is to understand the frequency of 542 in 8867057.

Advancing to step 1:
8 divided by 542 is 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Append the next digit (8) from the dividend to 8 and continue with: 88 / 542

On to step 2:
When dividing 88 by 542, we get 0 with a remainder of 88.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 88 after subtracting 0 from 88.
Fetch the next digit (6) from the dividend, attach it to 88 and continue: 886 / 542

Going ahead to step 3:
542 goes into 886 1 times with a remainder of 344.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 542 from 886 leaves us with 344.
Grab the next digit (7) from the dividend, add it to 344, then carry on: 3447 / 542

Going ahead to step 4:
542 goes into 3447 6 times with a remainder of 195.
Use 6 as the next digit of our solution. 
Result so far: 16.0
Deduct 3252 from 3447 and we're left with 195.
Bring next digit (0) of the dividend behind the 195 and repeat the process: 1950 / 542

Step 5:
542 can be fit into 1950 3 times, resulting in a remainder of 324.
The next digit of our result is 3. 
Result so far: 163.0
Deduct 1626 from 1950 and we're left with 324.
Bring next digit (5) of the dividend behind the 324 and repeat the process: 3245 / 542

Moving on to step 6:
542 goes into 3245 5 times with a remainder of 535.
Put 5 as the next digit of the answer. 
Result so far: 1635.0
Subtracting 2710 from 3245 leaves us with 535.
Take the next digit (7) from the dividend and append it to 535, then repeat: 5357 / 542

Moving on to step 7:
If we divide 5357 by 542, we get 9 and a remainder of 479.
The number 9 becomes the next digit in our result. 
Result so far: 16359.0
If we take 4878 away from 5357, we end up with 479.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4790, and continue the process.

Step 8:
542 goes into 4790 8 times with a remainder of 454.
Write down 8 as next digit of the result. 
Result so far: 16359.8
The remainder is 454 after subtracting 4336 from 4790.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4540, and continue the process.

Going ahead to step 9:
If we divide 4540 by 542, we get 8 and a remainder of 204.
The number 8 becomes the next digit in our result. 
Result so far: 16359.88
Deduct 4336 from 4540 and we're left with 204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

Our division results in 16359.88 with a remaining 0.204.