Let's divide 8704842 by 166
The aim is to understand the frequency of 166 in 8704842.

Let's proceed to step 1:
166 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
If we subtract 0 from 8, we get 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 166

Step 2:
166 can be fit into 87 0 times, resulting in a remainder of 87.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 87 after subtracting 0 from 87.
Include the next digit (0) from the dividend after 87, then repeat: 870 / 166

Step 3:
166 goes into 870 5 times with a remainder of 40.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
The remainder is 40 after subtracting 830 from 870.
Include the next digit (4) from the dividend after 40, then repeat: 404 / 166

On to step 4:
The number 166 fits into 404 2 times, leaving a remainder of 72.
The number 2 becomes the next digit in our result. 
Result so far: 52.0
If we take 332 away from 404, we end up with 72.
Append the next digit (8) from the dividend to 72 and continue with: 728 / 166

Step 5:
The number 166 fits into 728 4 times, leaving a remainder of 64.
Use 4 as the next digit of our solution. 
Result so far: 524.0
Deduct 664 from 728 and we're left with 64.
Take the next digit (4) from the dividend and append it to 64, then repeat: 644 / 166

Let's proceed to step 6:
When dividing 644 by 166, we get 3 with a remainder of 146.
Use 3 as the next digit of our solution. 
Result so far: 5243.0
If we subtract 498 from 644, we get 146.
Fetch the next digit (2) from the dividend, attach it to 146 and continue: 1462 / 166

Advancing to step 7:
166 can be fit into 1462 8 times, resulting in a remainder of 134.
Record the quotient 8 as the next digit in the result. 
Result so far: 52438.0
Subtracting 1328 from 1462 leaves us with 134.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

Step 8:
166 goes into 1340 8 times with a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 52438.8
The remainder is 12 after subtracting 1328 from 1340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 9:
The number 166 fits into 120 0 times, leaving a remainder of 120.
Use 0 as the next digit of our solution. 
Result so far: 52438.8
Subtracting 0 from 120 leaves us with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Advancing to step 10:
The number 166 fits into 1200 7 times, leaving a remainder of 38.
Put 7 as the next digit of the answer. 
Result so far: 52438.807
If we take 1162 away from 1200, we end up 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.

Advancing to step 11:
The number 166 fits into 380 2 times, leaving a remainder of 48.
Write down 2 as next digit of the result. 
Result so far: 52438.8072
The remainder is 48 after subtracting 332 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Moving on to step 12:
The number 166 fits into 480 2 times, leaving a remainder of 148.
Put 2 as the next digit of the answer. 
Result so far: 52438.80722
Subtracting 332 from 480 leaves us with 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

Our division results in 52438.80722 with a remaining 0.000148.