587575 ÷ 40 
Our goal is to divide 587575 by 40.

On to step 1:
When dividing 5 by 40, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 40

Advancing to step 2:
When dividing 58 by 40, we get 1 with a remainder of 18.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 40 from 58 to get 18.
Grab the next digit (7) from the dividend, add it to 18, then carry on: 187 / 40

Step 3:
40 can be fit into 187 4 times, resulting in a remainder of 27.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
Subtract 160 from 187 to get 27.
Take the next digit (5) from the dividend and append it to 27, then repeat: 275 / 40

On to step 4:
If we divide 275 by 40, we get 6 and a remainder of 35.
Write down 6 as next digit of the result. 
Result so far: 146.0
Subtracting 240 from 275 leaves us with 35.
Bring next digit (7) of the dividend behind the 35 and repeat the process: 357 / 40

Let's proceed to step 5:
When dividing 357 by 40, we get 8 with a remainder of 37.
The next digit of our result is 8. 
Result so far: 1468.0
The remainder is 37 after subtracting 320 from 357.
Fetch the next digit (5) from the dividend, attach it to 37 and continue: 375 / 40

On to step 6:
40 can be fit into 375 9 times, resulting in a remainder of 15.
Use 9 as the next digit of our solution. 
Result so far: 14689.0
The remainder is 15 after subtracting 360 from 375.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 7:
150 divided by 40 is 3 with a remainder of 30.
Write down 3 as next digit of the result. 
Result so far: 14689.3
Subtract 120 from 150 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 8:
If we divide 300 by 40, we get 7 and a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 14689.37
Subtracting 280 from 300 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
When dividing 200 by 40, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 14689.375
Subtracting 200 from 200 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.

On to step 10:
40 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 14689.375
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.

Moving on to step 11:
0 divided by 40 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 14689.375
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 quotient of the division is 14689.375, and the remainder is 0.0.