We divide 822319 by 40
Our goal is to divide 822319 by 40.

Moving on to step 1:
If we divide 8 by 40, we get 0 and a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Fetch the next digit (2) from the dividend, attach it to 8 and continue: 82 / 40

On to step 2:
When dividing 82 by 40, we get 2 with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtracting 80 from 82 leaves us with 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 40

Let's proceed to step 3:
When dividing 22 by 40, we get 0 with a remainder of 22.
The number 0 becomes the next digit in our result. 
Result so far: 20.0
If we take 0 away from 22, we end up with 22.
Take the next digit (3) from the dividend and append it to 22, then repeat: 223 / 40

Advancing to step 4:
The number 40 fits into 223 5 times, leaving a remainder of 23.
The next digit of our result is 5. 
Result so far: 205.0
If we subtract 200 from 223, we get 23.
Fetch the next digit (1) from the dividend, attach it to 23 and continue: 231 / 40

On to step 5:
231 divided by 40 is 5 with a remainder of 31.
Write down 5 as next digit of the result. 
Result so far: 2055.0
Subtract 200 from 231 to get 31.
Fetch the next digit (9) from the dividend, attach it to 31 and continue: 319 / 40

On to step 6:
If we divide 319 by 40, we get 7 and a remainder of 39.
The next digit of our result is 7. 
Result so far: 20557.0
Subtracting 280 from 319 leaves us with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Going ahead to step 7:
The number 40 fits into 390 9 times, leaving a remainder of 30.
Use 9 as the next digit of our solution. 
Result so far: 20557.9
The remainder is 30 after subtracting 360 from 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 8:
When dividing 300 by 40, we get 7 with a remainder of 20.
Write down 7 as next digit of the result. 
Result so far: 20557.97
Subtracting 280 from 300 leaves us 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.

Let's proceed to step 9:
200 divided by 40 is 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 20557.975
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.

Advancing to step 10:
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: 20557.975
The remainder is 0 after subtracting 0 from 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.
The next digit of our result is 0. 
Result so far: 20557.975
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.

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