We divide 593371 by 40
We want to divide 593371 by 40.

Moving on to step 1:
40 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (9) from the dividend to 5 and continue with: 59 / 40

Going ahead 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 (3) from the dividend to 19 and continue with: 193 / 40

Step 3:
40 goes into 193 4 times with a remainder of 33.
The next digit of our result is 4. 
Result so far: 14.0
Subtracting 160 from 193 leaves us with 33.
Grab the next digit (3) from the dividend, add it to 33, then carry on: 333 / 40

On to step 4:
The number 40 fits into 333 8 times, leaving a remainder of 13.
Write down 8 as next digit of the result. 
Result so far: 148.0
If we take 320 away from 333, we end up with 13.
Include the next digit (7) from the dividend after 13, then repeat: 137 / 40

Advancing to step 5:
137 divided by 40 is 3 with a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 1483.0
The remainder is 17 after subtracting 120 from 137.
Bring next digit (1) of the dividend behind the 17 and repeat the process: 171 / 40

Going ahead to step 6:
40 goes into 171 4 times with a remainder of 11.
Write down 4 as next digit of the result. 
Result so far: 14834.0
The remainder is 11 after subtracting 160 from 171.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 7:
When dividing 110 by 40, we get 2 with a remainder of 30.
Write down 2 as next digit of the result. 
Result so far: 14834.2
The remainder is 30 after subtracting 80 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 8:
300 divided by 40 is 7 with a remainder of 20.
Write down 7 as next digit of the result. 
Result so far: 14834.27
Deduct 280 from 300 and we're left 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.

On to step 9:
When dividing 200 by 40, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 14834.275
If we take 200 away from 200, 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 10:
0 divided by 40 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 14834.275
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.

Step 11:
When dividing 0 by 40, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 14834.275
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 14834.275, and the remainder is 0.0.