We look at the division of 42617099 by 165 
The aim is to understand the frequency of 165 in 42617099.

Let's proceed to step 1:
165 goes into 4 0 times with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 165

On to step 2:
If we divide 42 by 165, we get 0 and a remainder of 42.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 42 and we're left with 42.
Grab the next digit (6) from the dividend, add it to 42, then carry on: 426 / 165

Moving on to step 3:
165 goes into 426 2 times with a remainder of 96.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Deduct 330 from 426 and we're left with 96.
Fetch the next digit (1) from the dividend, attach it to 96 and continue: 961 / 165

On to step 4:
165 goes into 961 5 times with a remainder of 136.
Use 5 as the next digit of our solution. 
Result so far: 25.0
If we take 825 away from 961, we end up with 136.
Fetch the next digit (7) from the dividend, attach it to 136 and continue: 1367 / 165

Advancing to step 5:
1367 divided by 165 is 8 with a remainder of 47.
Put 8 as the next digit of the answer. 
Result so far: 258.0
Deduct 1320 from 1367 and we're left with 47.
Bring next digit (0) of the dividend behind the 47 and repeat the process: 470 / 165

Going ahead to step 6:
If we divide 470 by 165, we get 2 and a remainder of 140.
Write down 2 as next digit of the result. 
Result so far: 2582.0
Subtract 330 from 470 to get 140.
Append the next digit (9) from the dividend to 140 and continue with: 1409 / 165

Advancing to step 7:
165 can be fit into 1409 8 times, resulting in a remainder of 89.
The number 8 becomes the next digit in our result. 
Result so far: 25828.0
If we subtract 1320 from 1409, we get 89.
Take the next digit (9) from the dividend and append it to 89, then repeat: 899 / 165

Advancing to step 8:
The number 165 fits into 899 5 times, leaving a remainder of 74.
Record the quotient 5 as the next digit in the result. 
Result so far: 258285.0
If we take 825 away from 899, we end up with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

On to step 9:
165 goes into 740 4 times with a remainder of 80.
Use 4 as the next digit of our solution. 
Result so far: 258285.4
Subtracting 660 from 740 leaves us with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Step 10:
If we divide 800 by 165, we get 4 and a remainder of 140.
Put 4 as the next digit of the answer. 
Result so far: 258285.44
The remainder is 140 after subtracting 660 from 800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

The quotient of the division is 258285.44, and the remainder is 0.14.