595244 divided by 40 
We want to figure out the number of times 595244 can be divided by 40.

Moving on to step 1:
40 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (9) from the dividend, add it to 5, then carry on: 59 / 40

Going ahead to step 2:
If we divide 59 by 40, we get 1 and a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 40 away from 59, we end up with 19.
Include the next digit (5) from the dividend after 19, then repeat: 195 / 40

Advancing to step 3:
If we divide 195 by 40, we get 4 and a remainder of 35.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
The remainder is 35 after subtracting 160 from 195.
Include the next digit (2) from the dividend after 35, then repeat: 352 / 40

Advancing to step 4:
40 goes into 352 8 times with a remainder of 32.
The number 8 becomes the next digit in our result. 
Result so far: 148.0
Subtracting 320 from 352 leaves us with 32.
Fetch the next digit (4) from the dividend, attach it to 32 and continue: 324 / 40

Advancing to step 5:
The number 40 fits into 324 8 times, leaving a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 1488.0
If we subtract 320 from 324, we get 4.
Grab the next digit (4) from the dividend, add it to 4, then carry on: 44 / 40

Advancing to step 6:
If we divide 44 by 40, we get 1 and a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 14881.0
The remainder is 4 after subtracting 40 from 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 7:
If we divide 40 by 40, we get 1 and a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 14881.1
If we subtract 40 from 40, 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.

Going ahead to step 8:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 14881.1
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 9:
If we divide 0 by 40, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 14881.1
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.

After the division, we end up with 14881.1 and a remainder of 0.0.