21017297 ÷ 665 
We're looking to find how many times 665 goes into 21017297.

Let's proceed to step 1:
The number 665 fits into 2 0 times, leaving a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Take the next digit (1) from the dividend and append it to 2, then repeat: 21 / 665

Going ahead to step 2:
21 divided by 665 is 0 with a remainder of 21.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 21, we get 21.
Fetch the next digit (0) from the dividend, attach it to 21 and continue: 210 / 665

Advancing to step 3:
The number 665 fits into 210 0 times, leaving a remainder of 210.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 210 to get 210.
Append the next digit (1) from the dividend to 210 and continue with: 2101 / 665

Let's proceed to step 4:
665 goes into 2101 3 times with a remainder of 106.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtracting 1995 from 2101 leaves us with 106.
Grab the next digit (7) from the dividend, add it to 106, then carry on: 1067 / 665

Moving on to step 5:
If we divide 1067 by 665, we get 1 and a remainder of 402.
The number 1 becomes the next digit in our result. 
Result so far: 31.0
If we take 665 away from 1067, we end up with 402.
Grab the next digit (2) from the dividend, add it to 402, then carry on: 4022 / 665

Let's proceed to step 6:
The number 665 fits into 4022 6 times, leaving a remainder of 32.
The next digit of our result is 6. 
Result so far: 316.0
The remainder is 32 after subtracting 3990 from 4022.
Take the next digit (9) from the dividend and append it to 32, then repeat: 329 / 665

Moving on to step 7:
When dividing 329 by 665, we get 0 with a remainder of 329.
Use 0 as the next digit of our solution. 
Result so far: 3160.0
Subtract 0 from 329 to get 329.
Include the next digit (7) from the dividend after 329, then repeat: 3297 / 665

Going ahead to step 8:
When dividing 3297 by 665, we get 4 with a remainder of 637.
Put 4 as the next digit of the answer. 
Result so far: 31604.0
Subtracting 2660 from 3297 leaves us with 637.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6370, and continue the process.

Step 9:
When dividing 6370 by 665, we get 9 with a remainder of 385.
The number 9 becomes the next digit in our result. 
Result so far: 31604.9
The remainder is 385 after subtracting 5985 from 6370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3850, and continue the process.

Advancing to step 10:
665 can be fit into 3850 5 times, resulting in a remainder of 525.
The next digit of our result is 5. 
Result so far: 31604.95
The remainder is 525 after subtracting 3325 from 3850.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5250, and continue the process.

Let's proceed to step 11:
If we divide 5250 by 665, we get 7 and a remainder of 595.
The number 7 becomes the next digit in our result. 
Result so far: 31604.957
Subtract 4655 from 5250 to get 595.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5950, and continue the process.

Going ahead to step 12:
665 can be fit into 5950 8 times, resulting in a remainder of 630.
Write down 8 as next digit of the result. 
Result so far: 31604.9578
If we subtract 5320 from 5950, we get 630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6300, and continue the process.

On to step 13:
665 can be fit into 6300 9 times, resulting in a remainder of 315.
Use 9 as the next digit of our solution. 
Result so far: 31604.95789
Subtract 5985 from 6300 to get 315.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3150, and continue the process.

Step 14:
665 goes into 3150 4 times with a remainder of 490.
The next digit of our result is 4. 
Result so far: 31604.957894
Subtracting 2660 from 3150 leaves us with 490.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4900, and continue the process.

Moving on to step 15:
665 goes into 4900 7 times with a remainder of 245.
The number 7 becomes the next digit in our result. 
Result so far: 31604.9578947
Deduct 4655 from 4900 and we're left with 245.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2450, and continue the process.

Moving on to step 16:
2450 divided by 665 is 3 with a remainder of 455.
The next digit of our result is 3. 
Result so far: 31604.95789473
The remainder is 455 after subtracting 1995 from 2450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4550, and continue the process.

In conclusion, the division gives 31604.95789473 with a balance of 4.55e-07.