We divide 16400689 by 399
We want to divide 16400689 by 399.

On to step 1:
The number 399 fits into 1 0 times, leaving a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 399

Moving on to step 2:
399 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
Deduct 0 from 16 and we're left with 16.
Take the next digit (4) from the dividend and append it to 16, then repeat: 164 / 399

Step 3:
The number 399 fits into 164 0 times, leaving a remainder of 164.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 164 to get 164.
Fetch the next digit (0) from the dividend, attach it to 164 and continue: 1640 / 399

Step 4:
1640 divided by 399 is 4 with a remainder of 44.
The next digit of our result is 4. 
Result so far: 4.0
Subtracting 1596 from 1640 leaves us with 44.
Append the next digit (0) from the dividend to 44 and continue with: 440 / 399

On to step 5:
The number 399 fits into 440 1 times, leaving a remainder of 41.
Use 1 as the next digit of our solution. 
Result so far: 41.0
The remainder is 41 after subtracting 399 from 440.
Append the next digit (6) from the dividend to 41 and continue with: 416 / 399

Let's proceed to step 6:
416 divided by 399 is 1 with a remainder of 17.
The next digit of our result is 1. 
Result so far: 411.0
If we take 399 away from 416, we end up with 17.
Take the next digit (8) from the dividend and append it to 17, then repeat: 178 / 399

Moving on to step 7:
The number 399 fits into 178 0 times, leaving a remainder of 178.
The next digit of our result is 0. 
Result so far: 4110.0
If we subtract 0 from 178, we get 178.
Grab the next digit (9) from the dividend, add it to 178, then carry on: 1789 / 399

Moving on to step 8:
1789 divided by 399 is 4 with a remainder of 193.
The number 4 becomes the next digit in our result. 
Result so far: 41104.0
If we take 1596 away from 1789, we end up with 193.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1930, and continue the process.

Advancing to step 9:
When dividing 1930 by 399, we get 4 with a remainder of 334.
The number 4 becomes the next digit in our result. 
Result so far: 41104.4
The remainder is 334 after subtracting 1596 from 1930.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3340, and continue the process.

Step 10:
399 can be fit into 3340 8 times, resulting in a remainder of 148.
Write down 8 as next digit of the result. 
Result so far: 41104.48
If we subtract 3192 from 3340, we get 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

Let's proceed to step 11:
If we divide 1480 by 399, we get 3 and a remainder of 283.
Put 3 as the next digit of the answer. 
Result so far: 41104.483
If we take 1197 away from 1480, we end up with 283.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2830, and continue the process.

Moving on to step 12:
When dividing 2830 by 399, we get 7 with a remainder of 37.
The next digit of our result is 7. 
Result so far: 41104.4837
Subtract 2793 from 2830 to get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Going ahead to step 13:
If we divide 370 by 399, we get 0 and a remainder of 370.
The next digit of our result is 0. 
Result so far: 41104.4837
If we subtract 0 from 370, we get 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3700, and continue the process.

Let's proceed to step 14:
3700 divided by 399 is 9 with a remainder of 109.
Record the quotient 9 as the next digit in the result. 
Result so far: 41104.483709
The remainder is 109 after subtracting 3591 from 3700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1090, and continue the process.

Let's proceed to step 15:
1090 divided by 399 is 2 with a remainder of 292.
The next digit of our result is 2. 
Result so far: 41104.4837092
Subtracting 798 from 1090 leaves us with 292.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2920, and continue the process.

Let's proceed to step 16:
399 goes into 2920 7 times with a remainder of 127.
The number 7 becomes the next digit in our result. 
Result so far: 41104.48370927
If we subtract 2793 from 2920, we get 127.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1270, and continue the process.

After the division, we end up with 41104.48370927 and a remainder of 1.27e-07.