We divide 599431 by 40
Our goal is to divide 599431 by 40.

Step 1:
When dividing 5 by 40, we get 0 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.
Take the next digit (9) from the dividend and append it to 5, then repeat: 59 / 40

Going ahead to step 2:
40 goes into 59 1 times with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 40 from 59 and we're left with 19.
Bring next digit (9) of the dividend behind the 19 and repeat the process: 199 / 40

Going ahead to step 3:
If we divide 199 by 40, we get 4 and a remainder of 39.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
If we subtract 160 from 199, we get 39.
Fetch the next digit (4) from the dividend, attach it to 39 and continue: 394 / 40

Going ahead to step 4:
40 goes into 394 9 times with a remainder of 34.
The number 9 becomes the next digit in our result. 
Result so far: 149.0
The remainder is 34 after subtracting 360 from 394.
Fetch the next digit (3) from the dividend, attach it to 34 and continue: 343 / 40

Let's proceed to step 5:
When dividing 343 by 40, we get 8 with a remainder of 23.
The number 8 becomes the next digit in our result. 
Result so far: 1498.0
Subtract 320 from 343 to get 23.
Grab the next digit (1) from the dividend, add it to 23, then carry on: 231 / 40

Moving on to step 6:
The number 40 fits into 231 5 times, leaving a remainder of 31.
Put 5 as the next digit of the answer. 
Result so far: 14985.0
Subtracting 200 from 231 leaves us with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Moving on to step 7:
If we divide 310 by 40, we get 7 and a remainder of 30.
Record the quotient 7 as the next digit in the result. 
Result so far: 14985.7
The remainder is 30 after subtracting 280 from 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 8:
The number 40 fits into 300 7 times, leaving a remainder of 20.
Use 7 as the next digit of our solution. 
Result so far: 14985.77
If we subtract 280 from 300, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The quotient of the division is 14985.77, and the remainder is 0.02.