166817 divided by 17 
The aim is to understand the frequency of 17 in 166817.

Let's proceed to step 1:
When dividing 1 by 17, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 17

Let's proceed to step 2:
If we divide 16 by 17, we get 0 and a remainder of 16.
The number 0 becomes the next digit in our 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 / 17

Advancing to step 3:
If we divide 166 by 17, we get 9 and a remainder of 13.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
If we take 153 away from 166, we end up with 13.
Bring next digit (8) of the dividend behind the 13 and repeat the process: 138 / 17

Moving on to step 4:
When dividing 138 by 17, we get 8 with a remainder of 2.
The next digit of our result is 8. 
Result so far: 98.0
Subtracting 136 from 138 leaves us with 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 17

Advancing to step 5:
If we divide 21 by 17, we get 1 and a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 981.0
If we subtract 17 from 21, we get 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 17

Moving on to step 6:
47 divided by 17 is 2 with a remainder of 13.
Write down 2 as next digit of the result. 
Result so far: 9812.0
Subtract 34 from 47 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 7:
17 can be fit into 130 7 times, resulting in a remainder of 11.
Put 7 as the next digit of the answer. 
Result so far: 9812.7
Deduct 119 from 130 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 8:
17 can be fit into 110 6 times, resulting in a remainder of 8.
The next digit of our result is 6. 
Result so far: 9812.76
Subtracting 102 from 110 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 9:
17 can be fit into 80 4 times, resulting in a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 9812.764
If we take 68 away from 80, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 10:
120 divided by 17 is 7 with a remainder of 1.
The next digit of our result is 7. 
Result so far: 9812.7647
The remainder is 1 after subtracting 119 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 11:
17 goes into 10 0 times with a remainder of 10.
The next digit of our result is 0. 
Result so far: 9812.7647
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 12:
When dividing 100 by 17, we get 5 with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 9812.764705
Deduct 85 from 100 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 13:
17 can be fit into 150 8 times, resulting in a remainder of 14.
The next digit of our result is 8. 
Result so far: 9812.7647058
The remainder is 14 after subtracting 136 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 14:
The number 17 fits into 140 8 times, leaving a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 9812.76470588
Subtract 136 from 140 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 9812.76470588 with a remaining 4e-09.