6665862 divided by 400 
Let's see how many times 400 fits into 6665862.

Step 1:
400 can be fit into 6 0 times, resulting in a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Append the next digit (6) from the dividend to 6 and continue with: 66 / 400

Moving on to step 2:
The number 400 fits into 66 0 times, leaving a remainder of 66.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 66 leaves us with 66.
Fetch the next digit (6) from the dividend, attach it to 66 and continue: 666 / 400

Going ahead to step 3:
When dividing 666 by 400, we get 1 with a remainder of 266.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 400 from 666 and we're left with 266.
Include the next digit (5) from the dividend after 266, then repeat: 2665 / 400

Moving on to step 4:
When dividing 2665 by 400, we get 6 with a remainder of 265.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
If we subtract 2400 from 2665, we get 265.
Take the next digit (8) from the dividend and append it to 265, then repeat: 2658 / 400

On to step 5:
400 goes into 2658 6 times with a remainder of 258.
Use 6 as the next digit of our solution. 
Result so far: 166.0
Subtract 2400 from 2658 to get 258.
Fetch the next digit (6) from the dividend, attach it to 258 and continue: 2586 / 400

Moving on to step 6:
When dividing 2586 by 400, we get 6 with a remainder of 186.
Put 6 as the next digit of the answer. 
Result so far: 1666.0
The remainder is 186 after subtracting 2400 from 2586.
Include the next digit (2) from the dividend after 186, then repeat: 1862 / 400

Let's proceed to step 7:
When dividing 1862 by 400, we get 4 with a remainder of 262.
The number 4 becomes the next digit in our result. 
Result so far: 16664.0
If we take 1600 away from 1862, we end up with 262.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2620, and continue the process.

Step 8:
If we divide 2620 by 400, we get 6 and a remainder of 220.
Put 6 as the next digit of the answer. 
Result so far: 16664.6
Subtract 2400 from 2620 to get 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

Let's proceed to step 9:
400 goes into 2200 5 times with a remainder of 200.
Use 5 as the next digit of our solution. 
Result so far: 16664.65
The remainder is 200 after subtracting 2000 from 2200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

Going ahead to step 10:
If we divide 2000 by 400, we get 5 and a remainder of 0.
The next digit of our result is 5. 
Result so far: 16664.655
If we take 2000 away from 2000, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 16664.655, with a leftover of 0.0.