402805 divided by 40 
Let's see how many times 40 fits into 402805.

Advancing to step 1:
If we divide 4 by 40, we get 0 and a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 40

Advancing to step 2:
If we divide 40 by 40, we get 1 and a remainder of 0.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 40 from 40 to get 0.
Append the next digit (2) from the dividend to 0 and continue with: 2 / 40

Step 3:
When dividing 2 by 40, we get 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 10.0
If we subtract 0 from 2, we get 2.
Include the next digit (8) from the dividend after 2, then repeat: 28 / 40

Step 4:
When dividing 28 by 40, we get 0 with a remainder of 28.
Write down 0 as next digit of the result. 
Result so far: 100.0
Subtract 0 from 28 to get 28.
Take the next digit (0) from the dividend and append it to 28, then repeat: 280 / 40

Moving on to step 5:
40 goes into 280 7 times with a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 1007.0
Subtract 280 from 280 to get 0.
Append the next digit (5) from the dividend to 0 and continue with: 5 / 40

Advancing to step 6:
If we divide 5 by 40, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 10070.0
The remainder is 5 after subtracting 0 from 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 7:
50 divided by 40 is 1 with a remainder of 10.
Put 1 as the next digit of the answer. 
Result so far: 10070.1
If we take 40 away from 50, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 8:
100 divided by 40 is 2 with a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 10070.12
If we take 80 away from 100, 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.

On to step 9:
When dividing 200 by 40, we get 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 10070.125
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 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 10070.125
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 11:
If we divide 0 by 40, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 10070.125
If we take 0 away from 0, 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.

In conclusion, the division gives 10070.125 with a balance of 0.0.