Let's divide 498405 by 40
We want to divide 498405 by 40.

Advancing to step 1:
If we divide 4 by 40, we get 0 and a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Take the next digit (9) from the dividend and append it to 4, then repeat: 49 / 40

Advancing to step 2:
When dividing 49 by 40, we get 1 with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 40 from 49 to get 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 40

Let's proceed to step 3:
40 goes into 98 2 times with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
If we subtract 80 from 98, we get 18.
Grab the next digit (4) from the dividend, add it to 18, then carry on: 184 / 40

Step 4:
The number 40 fits into 184 4 times, leaving a remainder of 24.
Write down 4 as next digit of the result. 
Result so far: 124.0
Deduct 160 from 184 and we're left with 24.
Fetch the next digit (0) from the dividend, attach it to 24 and continue: 240 / 40

Step 5:
240 divided by 40 is 6 with a remainder of 0.
Put 6 as the next digit of the answer. 
Result so far: 1246.0
If we subtract 240 from 240, we get 0.
Include the next digit (5) from the dividend after 0, then repeat: 5 / 40

Going ahead to step 6:
5 divided by 40 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 12460.0
Subtracting 0 from 5 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 7:
40 goes into 50 1 times with a remainder of 10.
Use 1 as the next digit of our solution. 
Result so far: 12460.1
The remainder is 10 after subtracting 40 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 8:
40 goes into 100 2 times with a remainder of 20.
Record the quotient 2 as the next digit in the result. 
Result so far: 12460.12
If we subtract 80 from 100, 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.

Let's proceed 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: 12460.125
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.

Moving on to step 10:
40 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 12460.125
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.

Moving on to step 11:
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: 12460.125
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 quotient of the division is 12460.125, and the remainder is 0.0.