87991831 ÷ 542 
The aim is to understand the frequency of 542 in 87991831.

On to step 1:
542 goes into 8 0 times with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 542

Step 2:
The number 542 fits into 87 0 times, leaving a remainder of 87.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 87 to get 87.
Include the next digit (9) from the dividend after 87, then repeat: 879 / 542

Going ahead to step 3:
879 divided by 542 is 1 with a remainder of 337.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 542 from 879 and we're left with 337.
Grab the next digit (9) from the dividend, add it to 337, then carry on: 3379 / 542

Step 4:
542 can be fit into 3379 6 times, resulting in a remainder of 127.
The next digit of our result is 6. 
Result so far: 16.0
Deduct 3252 from 3379 and we're left with 127.
Fetch the next digit (1) from the dividend, attach it to 127 and continue: 1271 / 542

On to step 5:
If we divide 1271 by 542, we get 2 and a remainder of 187.
Write down 2 as next digit of the result. 
Result so far: 162.0
Deduct 1084 from 1271 and we're left with 187.
Grab the next digit (8) from the dividend, add it to 187, then carry on: 1878 / 542

Moving on to step 6:
542 can be fit into 1878 3 times, resulting in a remainder of 252.
The number 3 becomes the next digit in our result. 
Result so far: 1623.0
Deduct 1626 from 1878 and we're left with 252.
Append the next digit (3) from the dividend to 252 and continue with: 2523 / 542

Step 7:
542 can be fit into 2523 4 times, resulting in a remainder of 355.
Put 4 as the next digit of the answer. 
Result so far: 16234.0
Subtracting 2168 from 2523 leaves us with 355.
Include the next digit (1) from the dividend after 355, then repeat: 3551 / 542

Advancing to step 8:
542 can be fit into 3551 6 times, resulting in a remainder of 299.
Write down 6 as next digit of the result. 
Result so far: 162346.0
Subtracting 3252 from 3551 leaves us with 299.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2990, and continue the process.

Going ahead to step 9:
When dividing 2990 by 542, we get 5 with a remainder of 280.
The number 5 becomes the next digit in our result. 
Result so far: 162346.5
Subtracting 2710 from 2990 leaves us with 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Going ahead to step 10:
When dividing 2800 by 542, we get 5 with a remainder of 90.
The number 5 becomes the next digit in our result. 
Result so far: 162346.55
Subtract 2710 from 2800 to get 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Our division results in 162346.55 with a remaining 0.09.