Let's divide 579407 by 40
Our goal is to divide 579407 by 40.

Moving on to step 1:
40 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (7) from the dividend to 5 and continue with: 57 / 40

Going ahead to step 2:
40 goes into 57 1 times with a remainder of 17.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 17 after subtracting 40 from 57.
Append the next digit (9) from the dividend to 17 and continue with: 179 / 40

Going ahead to step 3:
The number 40 fits into 179 4 times, leaving a remainder of 19.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
If we take 160 away from 179, we end up with 19.
Append the next digit (4) from the dividend to 19 and continue with: 194 / 40

Step 4:
If we divide 194 by 40, we get 4 and a remainder of 34.
Write down 4 as next digit of the result. 
Result so far: 144.0
If we take 160 away from 194, we end up with 34.
Grab the next digit (0) from the dividend, add it to 34, then carry on: 340 / 40

Moving on to step 5:
40 goes into 340 8 times with a remainder of 20.
Put 8 as the next digit of the answer. 
Result so far: 1448.0
If we take 320 away from 340, we end up with 20.
Bring next digit (7) of the dividend behind the 20 and repeat the process: 207 / 40

Moving on to step 6:
40 can be fit into 207 5 times, resulting in a remainder of 7.
Put 5 as the next digit of the answer. 
Result so far: 14485.0
The remainder is 7 after subtracting 200 from 207.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 7:
When dividing 70 by 40, we get 1 with a remainder of 30.
The next digit of our result is 1. 
Result so far: 14485.1
If we subtract 40 from 70, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 8:
The number 40 fits into 300 7 times, leaving a remainder of 20.
Write down 7 as next digit of the result. 
Result so far: 14485.17
Subtract 280 from 300 to 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.

Step 9:
The number 40 fits into 200 5 times, leaving a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 14485.175
Deduct 200 from 200 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 10:
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: 14485.175
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 11:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 14485.175
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.

The final outcome is 14485.175, with a leftover of 0.0.