5846871 divided by 877 
Let's see how many times 877 fits into 5846871.

Let's proceed to step 1:
The number 877 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 877

Step 2:
If we divide 58 by 877, we get 0 and a remainder of 58.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 58, we get 58.
Fetch the next digit (4) from the dividend, attach it to 58 and continue: 584 / 877

Step 3:
If we divide 584 by 877, we get 0 and a remainder of 584.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 584 and we're left with 584.
Take the next digit (6) from the dividend and append it to 584, then repeat: 5846 / 877

Going ahead to step 4:
877 goes into 5846 6 times with a remainder of 584.
Use 6 as the next digit of our solution. 
Result so far: 6.0
If we subtract 5262 from 5846, we get 584.
Include the next digit (8) from the dividend after 584, then repeat: 5848 / 877

Moving on to step 5:
877 can be fit into 5848 6 times, resulting in a remainder of 586.
Record the quotient 6 as the next digit in the result. 
Result so far: 66.0
If we take 5262 away from 5848, we end up with 586.
Append the next digit (7) from the dividend to 586 and continue with: 5867 / 877

Going ahead to step 6:
If we divide 5867 by 877, we get 6 and a remainder of 605.
Use 6 as the next digit of our solution. 
Result so far: 666.0
If we take 5262 away from 5867, we end up with 605.
Append the next digit (1) from the dividend to 605 and continue with: 6051 / 877

On to step 7:
877 goes into 6051 6 times with a remainder of 789.
The number 6 becomes the next digit in our result. 
Result so far: 6666.0
If we subtract 5262 from 6051, we get 789.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7890, and continue the process.

Moving on to step 8:
If we divide 7890 by 877, we get 8 and a remainder of 874.
Write down 8 as next digit of the result. 
Result so far: 6666.8
If we subtract 7016 from 7890, we get 874.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8740, and continue the process.

Going ahead to step 9:
If we divide 8740 by 877, we get 9 and a remainder of 847.
The number 9 becomes the next digit in our result. 
Result so far: 6666.89
The remainder is 847 after subtracting 7893 from 8740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8470, and continue the process.

Let's proceed to step 10:
8470 divided by 877 is 9 with a remainder of 577.
Use 9 as the next digit of our solution. 
Result so far: 6666.899
If we subtract 7893 from 8470, we get 577.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5770, and continue the process.

The final result is 6666.899 with a remainder of 0.0577.