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

Let's proceed to step 1:
If we divide 3 by 17, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 17

Let's proceed to step 2:
When dividing 37 by 17, we get 2 with a remainder of 3.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 3 after subtracting 34 from 37.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 17

Let's proceed to step 3:
If we divide 38 by 17, we get 2 and a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 22.0
If we subtract 34 from 38, we get 4.
Append the next digit (1) from the dividend to 4 and continue with: 41 / 17

Advancing to step 4:
When dividing 41 by 17, we get 2 with a remainder of 7.
Write down 2 as next digit of the result. 
Result so far: 222.0
Deduct 34 from 41 and we're left with 7.
Include the next digit (1) from the dividend after 7, then repeat: 71 / 17

Moving on to step 5:
If we divide 71 by 17, we get 4 and a remainder of 3.
Write down 4 as next digit of the result. 
Result so far: 2224.0
If we take 68 away from 71, we end up with 3.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 17

On to step 6:
17 goes into 38 2 times with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 22242.0
If we subtract 34 from 38, we 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.

Moving on to step 7:
The number 17 fits into 40 2 times, leaving a remainder of 6.
The next digit of our result is 2. 
Result so far: 22242.2
Subtracting 34 from 40 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 8:
The number 17 fits into 60 3 times, leaving a remainder of 9.
The next digit of our result is 3. 
Result so far: 22242.23
The remainder is 9 after subtracting 51 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 9:
When dividing 90 by 17, we get 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 22242.235
Subtract 85 from 90 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 10:
17 can be fit into 50 2 times, resulting in a remainder of 16.
The next digit of our result is 2. 
Result so far: 22242.2352
If we take 34 away from 50, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 11:
The number 17 fits into 160 9 times, leaving a remainder of 7.
Put 9 as the next digit of the answer. 
Result so far: 22242.23529
If we subtract 153 from 160, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 12:
The number 17 fits into 70 4 times, leaving a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 22242.235294
The remainder is 2 after subtracting 68 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 13:
20 divided by 17 is 1 with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 22242.2352941
The remainder is 3 after subtracting 17 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 14:
17 can be fit into 30 1 times, resulting in a remainder of 13.
The next digit of our result is 1. 
Result so far: 22242.23529411
Subtract 17 from 30 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.

The final outcome is 22242.23529411, with a leftover of 1.3e-08.