587607 divided by 40 
Let's see how many times 40 fits into 587607.

On to step 1:
When dividing 5 by 40, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 40

Going ahead to step 2:
40 can be fit into 58 1 times, resulting in a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 40 from 58, we get 18.
Grab the next digit (7) from the dividend, add it to 18, then carry on: 187 / 40

Moving on to step 3:
187 divided by 40 is 4 with a remainder of 27.
Put 4 as the next digit of the answer. 
Result so far: 14.0
If we subtract 160 from 187, we get 27.
Append the next digit (6) from the dividend to 27 and continue with: 276 / 40

Going ahead to step 4:
276 divided by 40 is 6 with a remainder of 36.
Record the quotient 6 as the next digit in the result. 
Result so far: 146.0
Deduct 240 from 276 and we're left with 36.
Fetch the next digit (0) from the dividend, attach it to 36 and continue: 360 / 40

Moving on to step 5:
The number 40 fits into 360 9 times, leaving a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 1469.0
If we subtract 360 from 360, we get 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 40

On to step 6:
40 goes into 7 0 times with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 14690.0
The remainder is 7 after subtracting 0 from 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 7:
40 goes into 70 1 times with a remainder of 30.
Put 1 as the next digit of the answer. 
Result so far: 14690.1
If we take 40 away from 70, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 8:
The number 40 fits into 300 7 times, leaving a remainder of 20.
The next digit of our result is 7. 
Result so far: 14690.17
The remainder is 20 after subtracting 280 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 9:
40 goes into 200 5 times with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 14690.175
Deduct 200 from 200 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.

Moving on to step 10:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 14690.175
If we take 0 away from 0, we end up 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.

On to step 11:
40 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 14690.175
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.

The final result is 14690.175 with a remainder of 0.0.