6582887 divided by 398 
Our goal is to divide 6582887 by 398.

Step 1:
398 can be fit into 6 0 times, resulting in a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Take the next digit (5) from the dividend and append it to 6, then repeat: 65 / 398

Advancing to step 2:
398 can be fit into 65 0 times, resulting in a remainder of 65.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 65 leaves us with 65.
Append the next digit (8) from the dividend to 65 and continue with: 658 / 398

Going ahead to step 3:
The number 398 fits into 658 1 times, leaving a remainder of 260.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 398 from 658 leaves us with 260.
Append the next digit (2) from the dividend to 260 and continue with: 2602 / 398

Let's proceed to step 4:
2602 divided by 398 is 6 with a remainder of 214.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
Subtract 2388 from 2602 to get 214.
Take the next digit (8) from the dividend and append it to 214, then repeat: 2148 / 398

On to step 5:
398 can be fit into 2148 5 times, resulting in a remainder of 158.
Use 5 as the next digit of our solution. 
Result so far: 165.0
Subtracting 1990 from 2148 leaves us with 158.
Bring next digit (8) of the dividend behind the 158 and repeat the process: 1588 / 398

On to step 6:
The number 398 fits into 1588 3 times, leaving a remainder of 394.
The next digit of our result is 3. 
Result so far: 1653.0
If we subtract 1194 from 1588, we get 394.
Grab the next digit (7) from the dividend, add it to 394, then carry on: 3947 / 398

Advancing to step 7:
When dividing 3947 by 398, we get 9 with a remainder of 365.
Write down 9 as next digit of the result. 
Result so far: 16539.0
Subtracting 3582 from 3947 leaves us with 365.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3650, and continue the process.

Step 8:
If we divide 3650 by 398, we get 9 and a remainder of 68.
The number 9 becomes the next digit in our result. 
Result so far: 16539.9
Subtracting 3582 from 3650 leaves us with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

On to step 9:
The number 398 fits into 680 1 times, leaving a remainder of 282.
Use 1 as the next digit of our solution. 
Result so far: 16539.91
Subtract 398 from 680 to get 282.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2820, and continue the process.

On to step 10:
The number 398 fits into 2820 7 times, leaving a remainder of 34.
Put 7 as the next digit of the answer. 
Result so far: 16539.917
Deduct 2786 from 2820 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 11:
398 can be fit into 340 0 times, resulting in a remainder of 340.
The next digit of our result is 0. 
Result so far: 16539.917
Deduct 0 from 340 and we're left with 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

Step 12:
398 goes into 3400 8 times with a remainder of 216.
The number 8 becomes the next digit in our result. 
Result so far: 16539.91708
If we take 3184 away from 3400, we end up with 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Advancing to step 13:
When dividing 2160 by 398, we get 5 with a remainder of 170.
The next digit of our result is 5. 
Result so far: 16539.917085
Subtract 1990 from 2160 to get 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Step 14:
When dividing 1700 by 398, we get 4 with a remainder of 108.
Write down 4 as next digit of the result. 
Result so far: 16539.9170854
Deduct 1592 from 1700 and we're left with 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Going ahead to step 15:
If we divide 1080 by 398, we get 2 and a remainder of 284.
Put 2 as the next digit of the answer. 
Result so far: 16539.91708542
The remainder is 284 after subtracting 796 from 1080.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2840, and continue the process.

In conclusion, the division gives 16539.91708542 with a balance of 2.84e-07.