Let's divide 821575 by 40
We want to figure out the number of times 821575 can be divided by 40.

Let's proceed to step 1:
If we divide 8 by 40, we get 0 and a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Bring next digit (2) of the dividend behind the 8 and repeat the process: 82 / 40

Let's proceed to step 2:
82 divided by 40 is 2 with a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtracting 80 from 82 leaves us with 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 40

Advancing to step 3:
When dividing 21 by 40, we get 0 with a remainder of 21.
Record the quotient 0 as the next digit in the result. 
Result so far: 20.0
Deduct 0 from 21 and we're left with 21.
Grab the next digit (5) from the dividend, add it to 21, then carry on: 215 / 40

Step 4:
215 divided by 40 is 5 with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 205.0
The remainder is 15 after subtracting 200 from 215.
Bring next digit (7) of the dividend behind the 15 and repeat the process: 157 / 40

On to step 5:
40 goes into 157 3 times with a remainder of 37.
Write down 3 as next digit of the result. 
Result so far: 2053.0
Subtracting 120 from 157 leaves us with 37.
Include the next digit (5) from the dividend after 37, then repeat: 375 / 40

Let's proceed to step 6:
The number 40 fits into 375 9 times, leaving a remainder of 15.
Record the quotient 9 as the next digit in the result. 
Result so far: 20539.0
If we take 360 away from 375, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 7:
40 goes into 150 3 times with a remainder of 30.
Use 3 as the next digit of our solution. 
Result so far: 20539.3
The remainder is 30 after subtracting 120 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 8:
40 goes into 300 7 times with a remainder of 20.
Write down 7 as next digit of the result. 
Result so far: 20539.37
If we subtract 280 from 300, 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.

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: 20539.375
The remainder is 0 after subtracting 200 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 20539.375
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.

Going ahead to step 11:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 20539.375
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 final result is 20539.375 with a remainder of 0.0.