We're dividing 586045 by 87 
We want to divide 586045 by 87.

Advancing to step 1:
87 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 87

Moving on to step 2:
58 divided by 87 is 0 with a remainder of 58.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 58 after subtracting 0 from 58.
Fetch the next digit (6) from the dividend, attach it to 58 and continue: 586 / 87

On to step 3:
When dividing 586 by 87, we get 6 with a remainder of 64.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Subtract 522 from 586 to get 64.
Bring next digit (0) of the dividend behind the 64 and repeat the process: 640 / 87

Moving on to step 4:
640 divided by 87 is 7 with a remainder of 31.
Write down 7 as next digit of the result. 
Result so far: 67.0
Subtracting 609 from 640 leaves us with 31.
Take the next digit (4) from the dividend and append it to 31, then repeat: 314 / 87

Moving on to step 5:
If we divide 314 by 87, we get 3 and a remainder of 53.
The number 3 becomes the next digit in our result. 
Result so far: 673.0
Subtracting 261 from 314 leaves us with 53.
Bring next digit (5) of the dividend behind the 53 and repeat the process: 535 / 87

Advancing to step 6:
When dividing 535 by 87, we get 6 with a remainder of 13.
Write down 6 as next digit of the result. 
Result so far: 6736.0
The remainder is 13 after subtracting 522 from 535.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 7:
The number 87 fits into 130 1 times, leaving a remainder of 43.
The next digit of our result is 1. 
Result so far: 6736.1
If we subtract 87 from 130, we get 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Going ahead to step 8:
87 goes into 430 4 times with a remainder of 82.
The next digit of our result is 4. 
Result so far: 6736.14
If we subtract 348 from 430, we get 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Step 9:
87 goes into 820 9 times with a remainder of 37.
Record the quotient 9 as the next digit in the result. 
Result so far: 6736.149
If we take 783 away from 820, we end up with 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 10:
If we divide 370 by 87, we get 4 and a remainder of 22.
Put 4 as the next digit of the answer. 
Result so far: 6736.1494
The remainder is 22 after subtracting 348 from 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 11:
220 divided by 87 is 2 with a remainder of 46.
Use 2 as the next digit of our solution. 
Result so far: 6736.14942
If we subtract 174 from 220, we get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Advancing to step 12:
460 divided by 87 is 5 with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 6736.149425
Deduct 435 from 460 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 13:
250 divided by 87 is 2 with a remainder of 76.
Use 2 as the next digit of our solution. 
Result so far: 6736.1494252
The remainder is 76 after subtracting 174 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Going ahead to step 14:
760 divided by 87 is 8 with a remainder of 64.
Use 8 as the next digit of our solution. 
Result so far: 6736.14942528
If we subtract 696 from 760, we get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

The final result is 6736.14942528 with a remainder of 6.4e-08.