313012 divided by 17 
The aim is to understand the frequency of 17 in 313012.

Step 1:
If we divide 3 by 17, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 17

On to step 2:
31 divided by 17 is 1 with a remainder of 14.
The next digit of our result is 1. 
Result so far: 1.0
If we take 17 away from 31, we end up with 14.
Grab the next digit (3) from the dividend, add it to 14, then carry on: 143 / 17

On to step 3:
143 divided by 17 is 8 with a remainder of 7.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
Subtract 136 from 143 to get 7.
Append the next digit (0) from the dividend to 7 and continue with: 70 / 17

Step 4:
If we divide 70 by 17, we get 4 and a remainder of 2.
The next digit of our result is 4. 
Result so far: 184.0
The remainder is 2 after subtracting 68 from 70.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 17

Let's proceed to step 5:
17 goes into 21 1 times with a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 1841.0
If we take 17 away from 21, we end up with 4.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 17

Advancing to step 6:
17 can be fit into 42 2 times, resulting in a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 18412.0
Deduct 34 from 42 and we're left 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 7:
The number 17 fits into 80 4 times, leaving a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 18412.4
Subtract 68 from 80 to 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 8:
The number 17 fits into 120 7 times, leaving a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 18412.47
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 9:
If we divide 10 by 17, we get 0 and a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 18412.47
Deduct 0 from 10 and we're left 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.

On to step 10:
When dividing 100 by 17, we get 5 with a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 18412.4705
If we subtract 85 from 100, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 11:
If we divide 150 by 17, we get 8 and a remainder of 14.
Use 8 as the next digit of our solution. 
Result so far: 18412.47058
Subtract 136 from 150 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 12:
17 can be fit into 140 8 times, resulting in a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 18412.470588
Subtracting 136 from 140 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 18412.470588 with a remaining 4e-07.