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

On to step 1:
The number 17 fits into 7 0 times, leaving a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 17

Advancing to step 2:
When dividing 79 by 17, we get 4 with a remainder of 11.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Deduct 68 from 79 and we're left with 11.
Bring next digit (1) of the dividend behind the 11 and repeat the process: 111 / 17

Let's proceed to step 3:
If we divide 111 by 17, we get 6 and a remainder of 9.
The number 6 becomes the next digit in our result. 
Result so far: 46.0
Subtracting 102 from 111 leaves us with 9.
Include the next digit (5) from the dividend after 9, then repeat: 95 / 17

Going ahead to step 4:
17 can be fit into 95 5 times, resulting in a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 465.0
If we subtract 85 from 95, we get 10.
Grab the next digit (5) from the dividend, add it to 10, then carry on: 105 / 17

Moving on to step 5:
17 can be fit into 105 6 times, resulting in a remainder of 3.
Use 6 as the next digit of our solution. 
Result so far: 4656.0
If we subtract 102 from 105, we get 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 17

Going ahead to step 6:
17 can be fit into 37 2 times, resulting in a remainder of 3.
Record the quotient 2 as the next digit in the result. 
Result so far: 46562.0
If we take 34 away from 37, we end up 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.

On to step 7:
17 goes into 30 1 times with a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 46562.1
Deduct 17 from 30 and we're left 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:
If we divide 130 by 17, we get 7 and a remainder of 11.
The next digit of our result is 7. 
Result so far: 46562.17
If we subtract 119 from 130, we get 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 9:
110 divided by 17 is 6 with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 46562.176
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.

Advancing to step 10:
If we divide 80 by 17, we get 4 and a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 46562.1764
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.

On to step 11:
When dividing 120 by 17, we get 7 with a remainder of 1.
The next digit of our result is 7. 
Result so far: 46562.17647
If we take 119 away from 120, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 12:
10 divided by 17 is 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 46562.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.

Going ahead to step 13:
17 goes into 100 5 times with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 46562.1764705
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 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: 46562.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.

After the division, we end up with 46562.17647058 and a remainder of 1.4e-08.