862587 ÷ 45 
We're looking to find how many times 45 goes into 862587.

Let's proceed to step 1:
8 divided by 45 is 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Fetch the next digit (6) from the dividend, attach it to 8 and continue: 86 / 45

Let's proceed to step 2:
86 divided by 45 is 1 with a remainder of 41.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 41 after subtracting 45 from 86.
Include the next digit (2) from the dividend after 41, then repeat: 412 / 45

Going ahead to step 3:
45 can be fit into 412 9 times, resulting in a remainder of 7.
Put 9 as the next digit of the answer. 
Result so far: 19.0
Deduct 405 from 412 and we're left with 7.
Grab the next digit (5) from the dividend, add it to 7, then carry on: 75 / 45

Moving on to step 4:
45 goes into 75 1 times with a remainder of 30.
Record the quotient 1 as the next digit in the result. 
Result so far: 191.0
Subtracting 45 from 75 leaves us with 30.
Take the next digit (8) from the dividend and append it to 30, then repeat: 308 / 45

Let's proceed to step 5:
When dividing 308 by 45, we get 6 with a remainder of 38.
Write down 6 as next digit of the result. 
Result so far: 1916.0
Deduct 270 from 308 and we're left with 38.
Append the next digit (7) from the dividend to 38 and continue with: 387 / 45

Step 6:
The number 45 fits into 387 8 times, leaving a remainder of 27.
Write down 8 as next digit of the result. 
Result so far: 19168.0
Subtract 360 from 387 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 7:
If we divide 270 by 45, we get 6 and a remainder of 0.
Write down 6 as next digit of the result. 
Result so far: 19168.6
Subtracting 270 from 270 leaves us 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.

Step 8:
When dividing 0 by 45, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 19168.6
Subtracting 0 from 0 leaves us 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.

Going ahead to step 9:
45 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 19168.6
Deduct 0 from 0 and we're left 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 19168.6, with a leftover of 0.0.