We divide 40204961 by 17
The aim is to understand the frequency of 17 in 40204961.

On to step 1:
When dividing 4 by 17, we get 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 17

Step 2:
When dividing 40 by 17, we get 2 with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtract 34 from 40 to get 6.
Fetch the next digit (2) from the dividend, attach it to 6 and continue: 62 / 17

Moving on to step 3:
62 divided by 17 is 3 with a remainder of 11.
The number 3 becomes the next digit in our result. 
Result so far: 23.0
Subtracting 51 from 62 leaves us with 11.
Fetch the next digit (0) from the dividend, attach it to 11 and continue: 110 / 17

Moving on to step 4:
When dividing 110 by 17, we get 6 with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 236.0
Subtract 102 from 110 to get 8.
Include the next digit (4) from the dividend after 8, then repeat: 84 / 17

Going ahead to step 5:
If we divide 84 by 17, we get 4 and a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 2364.0
Subtract 68 from 84 to get 16.
Append the next digit (9) from the dividend to 16 and continue with: 169 / 17

Step 6:
When dividing 169 by 17, we get 9 with a remainder of 16.
The next digit of our result is 9. 
Result so far: 23649.0
Subtract 153 from 169 to get 16.
Grab the next digit (6) from the dividend, add it to 16, then carry on: 166 / 17

Step 7:
If we divide 166 by 17, we get 9 and a remainder of 13.
Record the quotient 9 as the next digit in the result. 
Result so far: 236499.0
The remainder is 13 after subtracting 153 from 166.
Take the next digit (1) from the dividend and append it to 13, then repeat: 131 / 17

Let's proceed to step 8:
17 can be fit into 131 7 times, resulting in a remainder of 12.
The next digit of our result is 7. 
Result so far: 2364997.0
Subtract 119 from 131 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.

Step 9:
If we divide 120 by 17, we get 7 and a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 2364997.7
Subtract 119 from 120 to 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.

Going ahead to step 10:
If we divide 10 by 17, we get 0 and a remainder of 10.
The next digit of our result is 0. 
Result so far: 2364997.7
Subtract 0 from 10 to 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.

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

Going ahead to step 12:
17 can be fit into 150 8 times, resulting in a remainder of 14.
Record the quotient 8 as the next digit in the result. 
Result so far: 2364997.7058
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 13:
140 divided by 17 is 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 2364997.70588
The remainder is 4 after subtracting 136 from 140.
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 2364997.70588 with a remainder of 4e-06.