We're dividing 166039 by 74 
The aim is to understand the frequency of 74 in 166039.

Advancing to step 1:
1 divided by 74 is 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 74

Advancing to step 2:
If we divide 16 by 74, we get 0 and a remainder of 16.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 16 to get 16.
Grab the next digit (6) from the dividend, add it to 16, then carry on: 166 / 74

Step 3:
When dividing 166 by 74, we get 2 with a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 148 away from 166, we end up with 18.
Take the next digit (0) from the dividend and append it to 18, then repeat: 180 / 74

On to step 4:
The number 74 fits into 180 2 times, leaving a remainder of 32.
The number 2 becomes the next digit in our result. 
Result so far: 22.0
Subtracting 148 from 180 leaves us with 32.
Append the next digit (3) from the dividend to 32 and continue with: 323 / 74

Going ahead to step 5:
When dividing 323 by 74, we get 4 with a remainder of 27.
Use 4 as the next digit of our solution. 
Result so far: 224.0
The remainder is 27 after subtracting 296 from 323.
Grab the next digit (9) from the dividend, add it to 27, then carry on: 279 / 74

Going ahead to step 6:
When dividing 279 by 74, we get 3 with a remainder of 57.
Write down 3 as next digit of the result. 
Result so far: 2243.0
If we take 222 away from 279, we end up with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Let's proceed to step 7:
The number 74 fits into 570 7 times, leaving a remainder of 52.
Use 7 as the next digit of our solution. 
Result so far: 2243.7
If we take 518 away from 570, we end up with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Going ahead to step 8:
The number 74 fits into 520 7 times, leaving a remainder of 2.
The next digit of our result is 7. 
Result so far: 2243.77
If we take 518 away from 520, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

In conclusion, the division gives 2243.77 with a balance of 0.002.