Let's divide 338004 by 17
The aim is to understand the frequency of 17 in 338004.

Going ahead to step 1:
When dividing 3 by 17, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Bring next digit (3) of the dividend behind the 3 and repeat the process: 33 / 17

Moving on to step 2:
33 divided by 17 is 1 with a remainder of 16.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 17 from 33 leaves us with 16.
Take the next digit (8) from the dividend and append it to 16, then repeat: 168 / 17

Step 3:
17 can be fit into 168 9 times, resulting in a remainder of 15.
Record the quotient 9 as the next digit in the result. 
Result so far: 19.0
Deduct 153 from 168 and we're left with 15.
Include the next digit (0) from the dividend after 15, then repeat: 150 / 17

Let's proceed to step 4:
The number 17 fits into 150 8 times, leaving a remainder of 14.
Write down 8 as next digit of the result. 
Result so far: 198.0
Subtracting 136 from 150 leaves us with 14.
Fetch the next digit (0) from the dividend, attach it to 14 and continue: 140 / 17

Step 5:
The number 17 fits into 140 8 times, leaving a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 1988.0
Deduct 136 from 140 and we're left with 4.
Take the next digit (4) from the dividend and append it to 4, then repeat: 44 / 17

Going ahead to step 6:
When dividing 44 by 17, we get 2 with a remainder of 10.
The next digit of our result is 2. 
Result so far: 19882.0
If we take 34 away from 44, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 7:
If we divide 100 by 17, we get 5 and a remainder of 15.
The next digit of our result is 5. 
Result so far: 19882.5
The remainder is 15 after subtracting 85 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 8:
150 divided by 17 is 8 with a remainder of 14.
Write down 8 as next digit of the result. 
Result so far: 19882.58
Deduct 136 from 150 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 9:
140 divided by 17 is 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 19882.588
The remainder is 4 after subtracting 136 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final result is 19882.588 with a remainder of 0.0004.