We're dividing 591806 by 40 
Let's see how many times 40 fits into 591806.

Moving on to step 1:
40 goes into 5 0 times with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (9) of the dividend behind the 5 and repeat the process: 59 / 40

Let's proceed to step 2:
The number 40 fits into 59 1 times, leaving a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 40 from 59 leaves us with 19.
Append the next digit (1) from the dividend to 19 and continue with: 191 / 40

Advancing to step 3:
If we divide 191 by 40, we get 4 and a remainder of 31.
The next digit of our result is 4. 
Result so far: 14.0
If we subtract 160 from 191, we get 31.
Fetch the next digit (8) from the dividend, attach it to 31 and continue: 318 / 40

On to step 4:
The number 40 fits into 318 7 times, leaving a remainder of 38.
Put 7 as the next digit of the answer. 
Result so far: 147.0
Deduct 280 from 318 and we're left with 38.
Fetch the next digit (0) from the dividend, attach it to 38 and continue: 380 / 40

Step 5:
If we divide 380 by 40, we get 9 and a remainder of 20.
The next digit of our result is 9. 
Result so far: 1479.0
Subtracting 360 from 380 leaves us with 20.
Append the next digit (6) from the dividend to 20 and continue with: 206 / 40

Step 6:
206 divided by 40 is 5 with a remainder of 6.
The number 5 becomes the next digit in our result. 
Result so far: 14795.0
The remainder is 6 after subtracting 200 from 206.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 7:
40 goes into 60 1 times with a remainder of 20.
Record the quotient 1 as the next digit in the result. 
Result so far: 14795.1
The remainder is 20 after subtracting 40 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
The number 40 fits into 200 5 times, leaving a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 14795.15
The remainder is 0 after subtracting 200 from 200.
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 9:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 14795.15
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 10:
40 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 14795.15
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.

Our division results in 14795.15 with a remaining 0.0.