Let's divide 97734291 by 542
The aim is to understand the frequency of 542 in 97734291.

On to step 1:
9 divided by 542 is 0 with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Take the next digit (7) from the dividend and append it to 9, then repeat: 97 / 542

Advancing to step 2:
If we divide 97 by 542, we get 0 and a remainder of 97.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 97 leaves us with 97.
Include the next digit (7) from the dividend after 97, then repeat: 977 / 542

Advancing to step 3:
542 goes into 977 1 times with a remainder of 435.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 542 from 977, we get 435.
Fetch the next digit (3) from the dividend, attach it to 435 and continue: 4353 / 542

Advancing to step 4:
When dividing 4353 by 542, we get 8 with a remainder of 17.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
Subtract 4336 from 4353 to get 17.
Take the next digit (4) from the dividend and append it to 17, then repeat: 174 / 542

Let's proceed to step 5:
The number 542 fits into 174 0 times, leaving a remainder of 174.
The next digit of our result is 0. 
Result so far: 180.0
The remainder is 174 after subtracting 0 from 174.
Grab the next digit (2) from the dividend, add it to 174, then carry on: 1742 / 542

Let's proceed to step 6:
If we divide 1742 by 542, we get 3 and a remainder of 116.
The next digit of our result is 3. 
Result so far: 1803.0
Deduct 1626 from 1742 and we're left with 116.
Include the next digit (9) from the dividend after 116, then repeat: 1169 / 542

Let's proceed to step 7:
542 goes into 1169 2 times with a remainder of 85.
The number 2 becomes the next digit in our result. 
Result so far: 18032.0
Subtracting 1084 from 1169 leaves us with 85.
Append the next digit (1) from the dividend to 85 and continue with: 851 / 542

Moving on to step 8:
851 divided by 542 is 1 with a remainder of 309.
Use 1 as the next digit of our solution. 
Result so far: 180321.0
The remainder is 309 after subtracting 542 from 851.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3090, and continue the process.

Let's proceed to step 9:
When dividing 3090 by 542, we get 5 with a remainder of 380.
Put 5 as the next digit of the answer. 
Result so far: 180321.5
Subtracting 2710 from 3090 leaves us with 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Going ahead to step 10:
The number 542 fits into 3800 7 times, leaving a remainder of 6.
The number 7 becomes the next digit in our result. 
Result so far: 180321.57
Subtracting 3794 from 3800 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

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

Advancing to step 12:
The number 542 fits into 600 1 times, leaving a remainder of 58.
Put 1 as the next digit of the answer. 
Result so far: 180321.5701
The remainder is 58 after subtracting 542 from 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Moving on to step 13:
The number 542 fits into 580 1 times, leaving a remainder of 38.
Record the quotient 1 as the next digit in the result. 
Result so far: 180321.57011
Deduct 542 from 580 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

After the division, we end up with 180321.57011 and a remainder of 3.8e-05.