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

Advancing to step 1:
If we divide 5 by 542, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (6) from the dividend after 5, then repeat: 56 / 542

Going ahead to step 2:
542 can be fit into 56 0 times, resulting in a remainder of 56.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 56 leaves us with 56.
Include the next digit (7) from the dividend after 56, then repeat: 567 / 542

Let's proceed to step 3:
When dividing 567 by 542, we get 1 with a remainder of 25.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 542 from 567 and we're left with 25.
Bring next digit (4) of the dividend behind the 25 and repeat the process: 254 / 542

Moving on to step 4:
If we divide 254 by 542, we get 0 and a remainder of 254.
Put 0 as the next digit of the answer. 
Result so far: 10.0
If we subtract 0 from 254, we get 254.
Include the next digit (5) from the dividend after 254, then repeat: 2545 / 542

Going ahead to step 5:
2545 divided by 542 is 4 with a remainder of 377.
Write down 4 as next digit of the result. 
Result so far: 104.0
Subtract 2168 from 2545 to get 377.
Append the next digit (5) from the dividend to 377 and continue with: 3775 / 542

Going ahead to step 6:
The number 542 fits into 3775 6 times, leaving a remainder of 523.
Record the quotient 6 as the next digit in the result. 
Result so far: 1046.0
Subtracting 3252 from 3775 leaves us with 523.
Include the next digit (3) from the dividend after 523, then repeat: 5233 / 542

Let's proceed to step 7:
5233 divided by 542 is 9 with a remainder of 355.
Put 9 as the next digit of the answer. 
Result so far: 10469.0
Deduct 4878 from 5233 and we're left with 355.
Include the next digit (5) from the dividend after 355, then repeat: 3555 / 542

Advancing to step 8:
542 goes into 3555 6 times with a remainder of 303.
Put 6 as the next digit of the answer. 
Result so far: 104696.0
Subtract 3252 from 3555 to get 303.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3030, and continue the process.

Advancing to step 9:
When dividing 3030 by 542, we get 5 with a remainder of 320.
Write down 5 as next digit of the result. 
Result so far: 104696.5
If we take 2710 away from 3030, we end up with 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Step 10:
When dividing 3200 by 542, we get 5 with a remainder of 490.
Record the quotient 5 as the next digit in the result. 
Result so far: 104696.55
Subtract 2710 from 3200 to get 490.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4900, and continue the process.

Our division results in 104696.55 with a remaining 0.49.