591296 divided by 40 
We want to divide 591296 by 40.

Going ahead to step 1:
The number 40 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (9) from the dividend and append it to 5, then repeat: 59 / 40

Let's proceed to step 2:
If we divide 59 by 40, we get 1 and a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 40 from 59 and we're left with 19.
Append the next digit (1) from the dividend to 19 and continue with: 191 / 40

Let's proceed to step 3:
40 can be fit into 191 4 times, resulting in a remainder of 31.
Use 4 as the next digit of our solution. 
Result so far: 14.0
Deduct 160 from 191 and we're left with 31.
Take the next digit (2) from the dividend and append it to 31, then repeat: 312 / 40

Advancing to step 4:
40 can be fit into 312 7 times, resulting in a remainder of 32.
Record the quotient 7 as the next digit in the result. 
Result so far: 147.0
Deduct 280 from 312 and we're left with 32.
Append the next digit (9) from the dividend to 32 and continue with: 329 / 40

On to step 5:
40 goes into 329 8 times with a remainder of 9.
Record the quotient 8 as the next digit in the result. 
Result so far: 1478.0
Subtract 320 from 329 to get 9.
Bring next digit (6) of the dividend behind the 9 and repeat the process: 96 / 40

Advancing to step 6:
96 divided by 40 is 2 with a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 14782.0
If we subtract 80 from 96, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 7:
The number 40 fits into 160 4 times, leaving a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 14782.4
Deduct 160 from 160 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.

Step 8:
40 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 14782.4
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.

Going ahead to step 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 14782.4
If we subtract 0 from 0, we get 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 14782.4 with a remainder of 0.0.