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

On 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
Subtract 0 from 3 to get 3.
Take the next digit (0) from the dividend and append it to 3, then repeat: 30 / 17

Step 2:
17 can be fit into 30 1 times, resulting in a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 17 from 30 and we're left with 13.
Grab the next digit (9) from the dividend, add it to 13, then carry on: 139 / 17

Step 3:
When dividing 139 by 17, we get 8 with a remainder of 3.
Put 8 as the next digit of the answer. 
Result so far: 18.0
If we take 136 away from 139, we end up with 3.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 17

On to step 4:
38 divided by 17 is 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 182.0
Deduct 34 from 38 and we're left with 4.
Take the next digit (6) from the dividend and append it to 4, then repeat: 46 / 17

Step 5:
If we divide 46 by 17, we get 2 and a remainder of 12.
Put 2 as the next digit of the answer. 
Result so far: 1822.0
If we subtract 34 from 46, we get 12.
Bring next digit (2) of the dividend behind the 12 and repeat the process: 122 / 17

Going ahead to step 6:
122 divided by 17 is 7 with a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 18227.0
Subtracting 119 from 122 leaves us with 3.
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 7:
17 goes into 30 1 times with a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 18227.1
If we take 17 away from 30, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 8:
When dividing 130 by 17, we get 7 with a remainder of 11.
The next digit of our result is 7. 
Result so far: 18227.17
The remainder is 11 after subtracting 119 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 9:
When dividing 110 by 17, we get 6 with a remainder of 8.
The next digit of our result is 6. 
Result so far: 18227.176
If we subtract 102 from 110, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 10:
If we divide 80 by 17, we get 4 and a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 18227.1764
If we subtract 68 from 80, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 11:
If we divide 120 by 17, we get 7 and a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 18227.17647
If we subtract 119 from 120, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 12:
17 goes into 10 0 times with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 18227.17647
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.

Let's proceed to step 13:
100 divided by 17 is 5 with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 18227.1764705
If we take 85 away from 100, we end up 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 14:
If we divide 150 by 17, we get 8 and a remainder of 14.
The number 8 becomes the next digit in our result. 
Result so far: 18227.17647058
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.

In conclusion, the division gives 18227.17647058 with a balance of 1.4e-08.