16640317 divided by 501 
We want to divide 16640317 by 501.

On to step 1:
If we divide 1 by 501, we get 0 and a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 501

Advancing to step 2:
501 can be fit into 16 0 times, resulting in a remainder of 16.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 16, we end up with 16.
Include the next digit (6) from the dividend after 16, then repeat: 166 / 501

Advancing to step 3:
501 goes into 166 0 times with a remainder of 166.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 166 leaves us with 166.
Include the next digit (4) from the dividend after 166, then repeat: 1664 / 501

Going ahead to step 4:
1664 divided by 501 is 3 with a remainder of 161.
The next digit of our result is 3. 
Result so far: 3.0
Deduct 1503 from 1664 and we're left with 161.
Take the next digit (0) from the dividend and append it to 161, then repeat: 1610 / 501

On to step 5:
501 can be fit into 1610 3 times, resulting in a remainder of 107.
Write down 3 as next digit of the result. 
Result so far: 33.0
Deduct 1503 from 1610 and we're left with 107.
Fetch the next digit (3) from the dividend, attach it to 107 and continue: 1073 / 501

On to step 6:
501 can be fit into 1073 2 times, resulting in a remainder of 71.
The number 2 becomes the next digit in our result. 
Result so far: 332.0
Deduct 1002 from 1073 and we're left with 71.
Include the next digit (1) from the dividend after 71, then repeat: 711 / 501

On to step 7:
501 goes into 711 1 times with a remainder of 210.
Put 1 as the next digit of the answer. 
Result so far: 3321.0
The remainder is 210 after subtracting 501 from 711.
Take the next digit (7) from the dividend and append it to 210, then repeat: 2107 / 501

Going ahead to step 8:
The number 501 fits into 2107 4 times, leaving a remainder of 103.
The next digit of our result is 4. 
Result so far: 33214.0
If we subtract 2004 from 2107, we get 103.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1030, and continue the process.

Step 9:
When dividing 1030 by 501, we get 2 with a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 33214.2
If we subtract 1002 from 1030, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 10:
When dividing 280 by 501, we get 0 with a remainder of 280.
Put 0 as the next digit of the answer. 
Result so far: 33214.2
Subtract 0 from 280 to get 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Moving on to step 11:
2800 divided by 501 is 5 with a remainder of 295.
Record the quotient 5 as the next digit in the result. 
Result so far: 33214.205
The remainder is 295 after subtracting 2505 from 2800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2950, and continue the process.

Moving on to step 12:
If we divide 2950 by 501, we get 5 and a remainder of 445.
Put 5 as the next digit of the answer. 
Result so far: 33214.2055
Deduct 2505 from 2950 and we're left with 445.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4450, and continue the process.

The final outcome is 33214.2055, with a leftover of 0.00445.