Let's divide 322511 by 40
Our goal is to divide 322511 by 40.

Let's proceed to step 1:
The number 40 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (2) from the dividend, attach it to 3 and continue: 32 / 40

On to step 2:
32 divided by 40 is 0 with a remainder of 32.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 32 leaves us with 32.
Append the next digit (2) from the dividend to 32 and continue with: 322 / 40

On to step 3:
40 goes into 322 8 times with a remainder of 2.
The next digit of our result is 8. 
Result so far: 8.0
Deduct 320 from 322 and we're left with 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 40

Moving on to step 4:
40 goes into 25 0 times with a remainder of 25.
Put 0 as the next digit of the answer. 
Result so far: 80.0
Deduct 0 from 25 and we're left with 25.
Bring next digit (1) of the dividend behind the 25 and repeat the process: 251 / 40

Step 5:
40 goes into 251 6 times with a remainder of 11.
Write down 6 as next digit of the result. 
Result so far: 806.0
If we take 240 away from 251, we end up with 11.
Include the next digit (1) from the dividend after 11, then repeat: 111 / 40

Moving on to step 6:
111 divided by 40 is 2 with a remainder of 31.
Record the quotient 2 as the next digit in the result. 
Result so far: 8062.0
The remainder is 31 after subtracting 80 from 111.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Moving on to step 7:
The number 40 fits into 310 7 times, leaving a remainder of 30.
The number 7 becomes the next digit in our result. 
Result so far: 8062.7
If we take 280 away from 310, we end up 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.

Let's proceed to step 8:
When dividing 300 by 40, we get 7 with a remainder of 20.
The next digit of our result is 7. 
Result so far: 8062.77
The remainder is 20 after subtracting 280 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The quotient of the division is 8062.77, and the remainder is 0.02.