We're dividing 493635 by 40 
We're looking to find how many times 40 goes into 493635.

Going ahead to step 1:
40 goes into 4 0 times with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Append the next digit (9) from the dividend to 4 and continue with: 49 / 40

On to step 2:
If we divide 49 by 40, we get 1 and a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 40 from 49 leaves us with 9.
Append the next digit (3) from the dividend to 9 and continue with: 93 / 40

Advancing to step 3:
The number 40 fits into 93 2 times, leaving a remainder of 13.
Use 2 as the next digit of our solution. 
Result so far: 12.0
The remainder is 13 after subtracting 80 from 93.
Bring next digit (6) of the dividend behind the 13 and repeat the process: 136 / 40

Let's proceed to step 4:
40 can be fit into 136 3 times, resulting in a remainder of 16.
Record the quotient 3 as the next digit in the result. 
Result so far: 123.0
The remainder is 16 after subtracting 120 from 136.
Fetch the next digit (3) from the dividend, attach it to 16 and continue: 163 / 40

Step 5:
163 divided by 40 is 4 with a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 1234.0
Subtract 160 from 163 to get 3.
Append the next digit (5) from the dividend to 3 and continue with: 35 / 40

Step 6:
40 goes into 35 0 times with a remainder of 35.
Put 0 as the next digit of the answer. 
Result so far: 12340.0
The remainder is 35 after subtracting 0 from 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 7:
40 goes into 350 8 times with a remainder of 30.
Write down 8 as next digit of the result. 
Result so far: 12340.8
If we subtract 320 from 350, 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.

Advancing 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: 12340.87
If we take 280 away from 300, we end up 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.

Advancing to step 9:
40 can be fit into 200 5 times, resulting in a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 12340.875
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.

Let's proceed to step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 12340.875
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.

Step 11:
If we divide 0 by 40, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 12340.875
If we subtract 0 from 0, 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.

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