We divide 802915 by 40
Let's see how many times 40 fits into 802915.

Going ahead to step 1:
40 can be fit into 8 0 times, resulting in a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Include the next digit (0) from the dividend after 8, then repeat: 80 / 40

On to step 2:
If we divide 80 by 40, we get 2 and a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 80 from 80, we get 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 40

Advancing to step 3:
40 goes into 2 0 times with a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 20.0
Subtracting 0 from 2 leaves us with 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 40

Let's proceed to step 4:
When dividing 29 by 40, we get 0 with a remainder of 29.
Write down 0 as next digit of the result. 
Result so far: 200.0
The remainder is 29 after subtracting 0 from 29.
Include the next digit (1) from the dividend after 29, then repeat: 291 / 40

Step 5:
When dividing 291 by 40, we get 7 with a remainder of 11.
Write down 7 as next digit of the result. 
Result so far: 2007.0
If we take 280 away from 291, we end up with 11.
Bring next digit (5) of the dividend behind the 11 and repeat the process: 115 / 40

Advancing to step 6:
The number 40 fits into 115 2 times, leaving a remainder of 35.
Record the quotient 2 as the next digit in the result. 
Result so far: 20072.0
If we take 80 away from 115, we end up with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Step 7:
40 goes into 350 8 times with a remainder of 30.
Record the quotient 8 as the next digit in the result. 
Result so far: 20072.8
Deduct 320 from 350 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 8:
The number 40 fits into 300 7 times, leaving a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 20072.87
Deduct 280 from 300 and we're left 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:
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: 20072.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.

Advancing 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: 20072.875
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.

Advancing to step 11:
If we divide 0 by 40, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 20072.875
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.

The quotient of the division is 20072.875, and the remainder is 0.0.