We're dividing 5865411 by 871 
We want to figure out the number of times 5865411 can be divided by 871.

On to step 1:
5 divided by 871 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 871

Step 2:
The number 871 fits into 58 0 times, leaving a remainder of 58.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 58 after subtracting 0 from 58.
Include the next digit (6) from the dividend after 58, then repeat: 586 / 871

Let's proceed to step 3:
871 goes into 586 0 times with a remainder of 586.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 586 and we're left with 586.
Include the next digit (5) from the dividend after 586, then repeat: 5865 / 871

Moving on to step 4:
5865 divided by 871 is 6 with a remainder of 639.
Write down 6 as next digit of the result. 
Result so far: 6.0
If we take 5226 away from 5865, we end up with 639.
Append the next digit (4) from the dividend to 639 and continue with: 6394 / 871

Moving on to step 5:
871 goes into 6394 7 times with a remainder of 297.
The number 7 becomes the next digit in our result. 
Result so far: 67.0
The remainder is 297 after subtracting 6097 from 6394.
Bring next digit (1) of the dividend behind the 297 and repeat the process: 2971 / 871

Advancing to step 6:
871 can be fit into 2971 3 times, resulting in a remainder of 358.
Record the quotient 3 as the next digit in the result. 
Result so far: 673.0
Deduct 2613 from 2971 and we're left with 358.
Fetch the next digit (1) from the dividend, attach it to 358 and continue: 3581 / 871

Moving on to step 7:
871 goes into 3581 4 times with a remainder of 97.
Use 4 as the next digit of our solution. 
Result so far: 6734.0
Subtract 3484 from 3581 to get 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

Let's proceed to step 8:
871 can be fit into 970 1 times, resulting in a remainder of 99.
The next digit of our result is 1. 
Result so far: 6734.1
Subtract 871 from 970 to get 99.
Since there are no more digits in the dividend, we add a zero to the remainder making it 990, and continue the process.

Let's proceed to step 9:
871 goes into 990 1 times with a remainder of 119.
Write down 1 as next digit of the result. 
Result so far: 6734.11
The remainder is 119 after subtracting 871 from 990.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1190, and continue the process.

After the division, we end up with 6734.11 and a remainder of 0.119.