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

Going ahead to step 1:
When dividing 1 by 542, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 542

Advancing to step 2:
When dividing 18 by 542, we get 0 with a remainder of 18.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 18 and we're left with 18.
Bring next digit (5) of the dividend behind the 18 and repeat the process: 185 / 542

On to step 3:
542 goes into 185 0 times with a remainder of 185.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 185 leaves us with 185.
Include the next digit (0) from the dividend after 185, then repeat: 1850 / 542

Going ahead to step 4:
The number 542 fits into 1850 3 times, leaving a remainder of 224.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtract 1626 from 1850 to get 224.
Take the next digit (3) from the dividend and append it to 224, then repeat: 2243 / 542

Let's proceed to step 5:
The number 542 fits into 2243 4 times, leaving a remainder of 75.
Use 4 as the next digit of our solution. 
Result so far: 34.0
Subtracting 2168 from 2243 leaves us with 75.
Append the next digit (8) from the dividend to 75 and continue with: 758 / 542

Advancing to step 6:
The number 542 fits into 758 1 times, leaving a remainder of 216.
Record the quotient 1 as the next digit in the result. 
Result so far: 341.0
Subtracting 542 from 758 leaves us with 216.
Fetch the next digit (9) from the dividend, attach it to 216 and continue: 2169 / 542

On to step 7:
The number 542 fits into 2169 4 times, leaving a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 3414.0
The remainder is 1 after subtracting 2168 from 2169.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 542

Moving on to step 8:
The number 542 fits into 10 0 times, leaving a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 34140.0
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 9:
542 goes into 100 0 times with a remainder of 100.
Record the quotient 0 as the next digit in the result. 
Result so far: 34140.0
Subtracting 0 from 100 leaves us with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Going ahead to step 10:
542 goes into 1000 1 times with a remainder of 458.
Put 1 as the next digit of the answer. 
Result so far: 34140.01
Subtract 542 from 1000 to get 458.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4580, and continue the process.

Moving on to step 11:
542 goes into 4580 8 times with a remainder of 244.
Write down 8 as next digit of the result. 
Result so far: 34140.018
Deduct 4336 from 4580 and we're left with 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

On to step 12:
2440 divided by 542 is 4 with a remainder of 272.
Use 4 as the next digit of our solution. 
Result so far: 34140.0184
Subtract 2168 from 2440 to get 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Moving on to step 13:
542 can be fit into 2720 5 times, resulting in a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 34140.01845
The remainder is 10 after subtracting 2710 from 2720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 14:
100 divided by 542 is 0 with a remainder of 100.
The number 0 becomes the next digit in our result. 
Result so far: 34140.01845
If we take 0 away from 100, we end up with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Step 15:
When dividing 1000 by 542, we get 1 with a remainder of 458.
The next digit of our result is 1. 
Result so far: 34140.0184501
Subtract 542 from 1000 to get 458.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4580, and continue the process.

Going ahead to step 16:
542 can be fit into 4580 8 times, resulting in a remainder of 244.
The number 8 becomes the next digit in our result. 
Result so far: 34140.01845018
Subtracting 4336 from 4580 leaves us with 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

In conclusion, the division gives 34140.01845018 with a balance of 2.44e-07.