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

Going ahead to step 1:
When dividing 8 by 40, we get 0 with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Bring next digit (0) of the dividend behind the 8 and repeat the process: 80 / 40

Let's proceed to step 2:
40 goes into 80 2 times with a remainder of 0.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 0 after subtracting 80 from 80.
Append the next digit (1) from the dividend to 0 and continue with: 1 / 40

Advancing to step 3:
40 can be fit into 1 0 times, resulting in a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 20.0
Deduct 0 from 1 and we're left with 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 40

Advancing to step 4:
The number 40 fits into 11 0 times, leaving a remainder of 11.
Put 0 as the next digit of the answer. 
Result so far: 200.0
The remainder is 11 after subtracting 0 from 11.
Take the next digit (2) from the dividend and append it to 11, then repeat: 112 / 40

Let's proceed to step 5:
112 divided by 40 is 2 with a remainder of 32.
Record the quotient 2 as the next digit in the result. 
Result so far: 2002.0
Subtract 80 from 112 to get 32.
Grab the next digit (1) from the dividend, add it to 32, then carry on: 321 / 40

Let's proceed to step 6:
40 goes into 321 8 times with a remainder of 1.
Use 8 as the next digit of our solution. 
Result so far: 20028.0
If we take 320 away from 321, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
40 can be fit into 10 0 times, resulting in a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 20028.0
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
40 goes into 100 2 times with a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 20028.02
The remainder is 20 after subtracting 80 from 100.
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.
Record the quotient 5 as the next digit in the result. 
Result so far: 20028.025
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.

Moving on to step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 20028.025
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.

Going ahead to step 11:
When dividing 0 by 40, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 20028.025
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.

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