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

On to step 1:
When dividing 3 by 542, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 542

Step 2:
542 can be fit into 37 0 times, resulting in a remainder of 37.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 37 to get 37.
Include the next digit (8) from the dividend after 37, then repeat: 378 / 542

On to step 3:
542 goes into 378 0 times with a remainder of 378.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 378 to get 378.
Include the next digit (4) from the dividend after 378, then repeat: 3784 / 542

Going ahead to step 4:
542 can be fit into 3784 6 times, resulting in a remainder of 532.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
Subtract 3252 from 3784 to get 532.
Append the next digit (2) from the dividend to 532 and continue with: 5322 / 542

Step 5:
542 goes into 5322 9 times with a remainder of 444.
Write down 9 as next digit of the result. 
Result so far: 69.0
Deduct 4878 from 5322 and we're left with 444.
Take the next digit (4) from the dividend and append it to 444, then repeat: 4444 / 542

Advancing to step 6:
4444 divided by 542 is 8 with a remainder of 108.
The number 8 becomes the next digit in our result. 
Result so far: 698.0
Subtract 4336 from 4444 to get 108.
Fetch the next digit (1) from the dividend, attach it to 108 and continue: 1081 / 542

Step 7:
The number 542 fits into 1081 1 times, leaving a remainder of 539.
Put 1 as the next digit of the answer. 
Result so far: 6981.0
Subtract 542 from 1081 to get 539.
Grab the next digit (7) from the dividend, add it to 539, then carry on: 5397 / 542

Going ahead to step 8:
542 can be fit into 5397 9 times, resulting in a remainder of 519.
Put 9 as the next digit of the answer. 
Result so far: 69819.0
Deduct 4878 from 5397 and we're left with 519.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5190, and continue the process.

Advancing to step 9:
542 can be fit into 5190 9 times, resulting in a remainder of 312.
Put 9 as the next digit of the answer. 
Result so far: 69819.9
If we subtract 4878 from 5190, we get 312.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

Moving on to step 10:
542 goes into 3120 5 times with a remainder of 410.
The next digit of our result is 5. 
Result so far: 69819.95
Deduct 2710 from 3120 and we're left with 410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4100, and continue the process.

Let's proceed to step 11:
542 can be fit into 4100 7 times, resulting in a remainder of 306.
Use 7 as the next digit of our solution. 
Result so far: 69819.957
If we take 3794 away from 4100, we end up with 306.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3060, and continue the process.

Moving on to step 12:
542 goes into 3060 5 times with a remainder of 350.
Record the quotient 5 as the next digit in the result. 
Result so far: 69819.9575
The remainder is 350 after subtracting 2710 from 3060.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3500, and continue the process.

Let's proceed to step 13:
If we divide 3500 by 542, we get 6 and a remainder of 248.
Use 6 as the next digit of our solution. 
Result so far: 69819.95756
Deduct 3252 from 3500 and we're left with 248.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2480, and continue the process.

Moving on to step 14:
The number 542 fits into 2480 4 times, leaving a remainder of 312.
Record the quotient 4 as the next digit in the result. 
Result so far: 69819.957564
The remainder is 312 after subtracting 2168 from 2480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

Moving on to step 15:
The number 542 fits into 3120 5 times, leaving a remainder of 410.
Record the quotient 5 as the next digit in the result. 
Result so far: 69819.9575645
If we subtract 2710 from 3120, we get 410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4100, and continue the process.

Going ahead to step 16:
4100 divided by 542 is 7 with a remainder of 306.
Write down 7 as next digit of the result. 
Result so far: 69819.95756457
The remainder is 306 after subtracting 3794 from 4100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3060, and continue the process.

The quotient of the division is 69819.95756457, and the remainder is 3.06e-07.