310165 ÷ 17 
The aim is to understand the frequency of 17 in 310165.

Moving on to step 1:
If we divide 3 by 17, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 17

Going ahead to step 2:
The number 17 fits into 31 1 times, leaving a remainder of 14.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 14 after subtracting 17 from 31.
Grab the next digit (0) from the dividend, add it to 14, then carry on: 140 / 17

Step 3:
140 divided by 17 is 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 18.0
If we subtract 136 from 140, we get 4.
Fetch the next digit (1) from the dividend, attach it to 4 and continue: 41 / 17

Advancing to step 4:
41 divided by 17 is 2 with a remainder of 7.
Record the quotient 2 as the next digit in the result. 
Result so far: 182.0
Subtracting 34 from 41 leaves us with 7.
Take the next digit (6) from the dividend and append it to 7, then repeat: 76 / 17

Let's proceed to step 5:
76 divided by 17 is 4 with a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 1824.0
Subtracting 68 from 76 leaves us with 8.
Take the next digit (5) from the dividend and append it to 8, then repeat: 85 / 17

Going ahead to step 6:
17 can be fit into 85 5 times, resulting in a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 18245.0
Subtracting 85 from 85 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

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

Let's proceed to step 8:
0 divided by 17 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 18245.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 18245.0 with a balance of 0.0.