We look at the division of 340015 by 17 
The aim is to understand the frequency of 17 in 340015.

Step 1:
When dividing 3 by 17, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 17

Going ahead to step 2:
17 can be fit into 34 2 times, resulting in a remainder of 0.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 34 from 34 leaves us with 0.
Grab the next digit (0) from the dividend, add it to 0, then carry on: 0 / 17

Going ahead to step 3:
If we divide 0 by 17, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 20.0
Deduct 0 from 0 and we're left with 0.
Fetch the next digit (0) from the dividend, attach it to 0 and continue: 0 / 17

Moving on to step 4:
When dividing 0 by 17, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 200.0
The remainder is 0 after subtracting 0 from 0.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 17

Step 5:
When dividing 1 by 17, we get 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 2000.0
The remainder is 1 after subtracting 0 from 1.
Fetch the next digit (5) from the dividend, attach it to 1 and continue: 15 / 17

On to step 6:
When dividing 15 by 17, we get 0 with a remainder of 15.
The number 0 becomes the next digit in our result. 
Result so far: 20000.0
Subtracting 0 from 15 leaves us 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.

Advancing to step 7:
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: 20000.8
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.

Moving on to step 8:
When dividing 140 by 17, we get 8 with a remainder of 4.
The next digit of our result is 8. 
Result so far: 20000.88
Subtracting 136 from 140 leaves us with 4.
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 20000.88 with a remainder of 0.004.