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

Advancing to step 1:
17 goes into 3 0 times 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.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 17

On to step 2:
31 divided by 17 is 1 with a remainder of 14.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 17 away from 31, we end up with 14.
Append the next digit (7) from the dividend to 14 and continue with: 147 / 17

Let's proceed to step 3:
147 divided by 17 is 8 with a remainder of 11.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
Subtracting 136 from 147 leaves us with 11.
Grab the next digit (5) from the dividend, add it to 11, then carry on: 115 / 17

On to step 4:
115 divided by 17 is 6 with a remainder of 13.
The number 6 becomes the next digit in our result. 
Result so far: 186.0
The remainder is 13 after subtracting 102 from 115.
Include the next digit (0) from the dividend after 13, then repeat: 130 / 17

Going ahead to step 5:
If we divide 130 by 17, we get 7 and a remainder of 11.
Put 7 as the next digit of the answer. 
Result so far: 1867.0
Subtract 119 from 130 to get 11.
Append the next digit (5) from the dividend to 11 and continue with: 115 / 17

Advancing to step 6:
When dividing 115 by 17, we get 6 with a remainder of 13.
Record the quotient 6 as the next digit in the result. 
Result so far: 18676.0
The remainder is 13 after subtracting 102 from 115.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 7:
When dividing 130 by 17, we get 7 with a remainder of 11.
Use 7 as the next digit of our solution. 
Result so far: 18676.7
Deduct 119 from 130 and we're left with 11.
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 8:
If we divide 110 by 17, we get 6 and a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 18676.76
Subtract 102 from 110 to 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.

Moving on to step 9:
17 can be fit into 80 4 times, resulting in a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 18676.764
Deduct 68 from 80 and we're left 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.

Let's proceed to step 10:
17 can be fit into 120 7 times, resulting in a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 18676.7647
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.

Let's proceed to step 11:
17 can be fit into 10 0 times, resulting in a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 18676.7647
Subtracting 0 from 10 leaves us 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.

Going ahead to step 12:
100 divided by 17 is 5 with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 18676.764705
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.

Step 13:
17 goes into 150 8 times with a remainder of 14.
The number 8 becomes the next digit in our result. 
Result so far: 18676.7647058
Subtracting 136 from 150 leaves us 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 14:
17 can be fit into 140 8 times, resulting in a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 18676.76470588
Subtract 136 from 140 to 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.

The final result is 18676.76470588 with a remainder of 4e-09.