We're dividing 21268018 by 542 
The aim is to understand the frequency of 542 in 21268018.

On to step 1:
The number 542 fits into 2 0 times, leaving a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 542

Let's proceed to step 2:
If we divide 21 by 542, we get 0 and a remainder of 21.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 21 after subtracting 0 from 21.
Take the next digit (2) from the dividend and append it to 21, then repeat: 212 / 542

Advancing to step 3:
The number 542 fits into 212 0 times, leaving a remainder of 212.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 212 leaves us with 212.
Grab the next digit (6) from the dividend, add it to 212, then carry on: 2126 / 542

Going ahead to step 4:
2126 divided by 542 is 3 with a remainder of 500.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we take 1626 away from 2126, we end up with 500.
Include the next digit (8) from the dividend after 500, then repeat: 5008 / 542

Let's proceed to step 5:
542 can be fit into 5008 9 times, resulting in a remainder of 130.
Put 9 as the next digit of the answer. 
Result so far: 39.0
Subtracting 4878 from 5008 leaves us with 130.
Include the next digit (0) from the dividend after 130, then repeat: 1300 / 542

On to step 6:
When dividing 1300 by 542, we get 2 with a remainder of 216.
Put 2 as the next digit of the answer. 
Result so far: 392.0
Subtracting 1084 from 1300 leaves us with 216.
Include the next digit (1) from the dividend after 216, then repeat: 2161 / 542

Going ahead to step 7:
2161 divided by 542 is 3 with a remainder of 535.
Put 3 as the next digit of the answer. 
Result so far: 3923.0
The remainder is 535 after subtracting 1626 from 2161.
Grab the next digit (8) from the dividend, add it to 535, then carry on: 5358 / 542

Going ahead to step 8:
5358 divided by 542 is 9 with a remainder of 480.
Use 9 as the next digit of our solution. 
Result so far: 39239.0
The remainder is 480 after subtracting 4878 from 5358.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

Step 9:
The number 542 fits into 4800 8 times, leaving a remainder of 464.
Put 8 as the next digit of the answer. 
Result so far: 39239.8
Deduct 4336 from 4800 and we're left with 464.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4640, and continue the process.

Let's proceed to step 10:
When dividing 4640 by 542, we get 8 with a remainder of 304.
Write down 8 as next digit of the result. 
Result so far: 39239.88
If we take 4336 away from 4640, we end up with 304.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

In conclusion, the division gives 39239.88 with a balance of 0.304.