We're dividing 16401993 by 504 
Let's see how many times 504 fits into 16401993.

Let's proceed to step 1:
When dividing 1 by 504, we get 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 504

Step 2:
16 divided by 504 is 0 with a remainder of 16.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 16 and we're left with 16.
Fetch the next digit (4) from the dividend, attach it to 16 and continue: 164 / 504

Advancing to step 3:
504 goes into 164 0 times with a remainder of 164.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 164 leaves us with 164.
Grab the next digit (0) from the dividend, add it to 164, then carry on: 1640 / 504

Moving on to step 4:
504 can be fit into 1640 3 times, resulting in a remainder of 128.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtract 1512 from 1640 to get 128.
Fetch the next digit (1) from the dividend, attach it to 128 and continue: 1281 / 504

Moving on to step 5:
504 can be fit into 1281 2 times, resulting in a remainder of 273.
Put 2 as the next digit of the answer. 
Result so far: 32.0
The remainder is 273 after subtracting 1008 from 1281.
Grab the next digit (9) from the dividend, add it to 273, then carry on: 2739 / 504

Advancing to step 6:
504 can be fit into 2739 5 times, resulting in a remainder of 219.
Record the quotient 5 as the next digit in the result. 
Result so far: 325.0
Deduct 2520 from 2739 and we're left with 219.
Fetch the next digit (9) from the dividend, attach it to 219 and continue: 2199 / 504

On to step 7:
504 goes into 2199 4 times with a remainder of 183.
Record the quotient 4 as the next digit in the result. 
Result so far: 3254.0
If we take 2016 away from 2199, we end up with 183.
Include the next digit (3) from the dividend after 183, then repeat: 1833 / 504

On to step 8:
When dividing 1833 by 504, we get 3 with a remainder of 321.
The number 3 becomes the next digit in our result. 
Result so far: 32543.0
The remainder is 321 after subtracting 1512 from 1833.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3210, and continue the process.

Moving on to step 9:
If we divide 3210 by 504, we get 6 and a remainder of 186.
Record the quotient 6 as the next digit in the result. 
Result so far: 32543.6
The remainder is 186 after subtracting 3024 from 3210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1860, and continue the process.

Step 10:
When dividing 1860 by 504, we get 3 with a remainder of 348.
Put 3 as the next digit of the answer. 
Result so far: 32543.63
Deduct 1512 from 1860 and we're left with 348.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3480, and continue the process.

Step 11:
If we divide 3480 by 504, we get 6 and a remainder of 456.
The next digit of our result is 6. 
Result so far: 32543.636
Deduct 3024 from 3480 and we're left with 456.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4560, and continue the process.

Let's proceed to step 12:
4560 divided by 504 is 9 with a remainder of 24.
The number 9 becomes the next digit in our result. 
Result so far: 32543.6369
Subtracting 4536 from 4560 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 13:
504 goes into 240 0 times with a remainder of 240.
Write down 0 as next digit of the result. 
Result so far: 32543.6369
Subtracting 0 from 240 leaves us with 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Step 14:
2400 divided by 504 is 4 with a remainder of 384.
Use 4 as the next digit of our solution. 
Result so far: 32543.636904
Subtracting 2016 from 2400 leaves us with 384.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3840, and continue the process.

Step 15:
504 goes into 3840 7 times with a remainder of 312.
The number 7 becomes the next digit in our result. 
Result so far: 32543.6369047
The remainder is 312 after subtracting 3528 from 3840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

Moving on to step 16:
504 can be fit into 3120 6 times, resulting in a remainder of 96.
Record the quotient 6 as the next digit in the result. 
Result so far: 32543.63690476
If we subtract 3024 from 3120, we get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

The final result is 32543.63690476 with a remainder of 9.6e-08.