We look at the division of 584802 by 40 
We're looking to find how many times 40 goes into 584802.

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
The remainder is 5 after subtracting 0 from 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 40

On to step 2:
The number 40 fits into 58 1 times, leaving a remainder of 18.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 18 after subtracting 40 from 58.
Grab the next digit (4) from the dividend, add it to 18, then carry on: 184 / 40

Let's proceed to step 3:
When dividing 184 by 40, we get 4 with a remainder of 24.
Use 4 as the next digit of our solution. 
Result so far: 14.0
If we subtract 160 from 184, we get 24.
Fetch the next digit (8) from the dividend, attach it to 24 and continue: 248 / 40

On to step 4:
If we divide 248 by 40, we get 6 and a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 146.0
If we subtract 240 from 248, we get 8.
Fetch the next digit (0) from the dividend, attach it to 8 and continue: 80 / 40

Let's proceed to step 5:
40 goes into 80 2 times with a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 1462.0
If we take 80 away from 80, we end up with 0.
Append the next digit (2) from the dividend to 0 and continue with: 2 / 40

On to step 6:
40 can be fit into 2 0 times, resulting in a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 14620.0
The remainder is 2 after subtracting 0 from 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
The number 40 fits into 20 0 times, leaving a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 14620.0
Subtract 0 from 20 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.

On to step 8:
40 goes into 200 5 times with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 14620.05
Subtracting 200 from 200 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.

Going ahead to step 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 14620.05
Subtract 0 from 0 to 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 10:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 14620.05
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.

The final result is 14620.05 with a remainder of 0.0.