Let's divide 20020 by 40
We want to divide 20020 by 40.

Advancing to step 1:
40 can be fit into 2 0 times, resulting in a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 40

Going ahead to step 2:
40 goes into 20 0 times with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 20, we get 20.
Take the next digit (0) from the dividend and append it to 20, then repeat: 200 / 40

Let's proceed to step 3:
The number 40 fits into 200 5 times, leaving a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Subtracting 200 from 200 leaves us with 0.
Grab the next digit (2) from the dividend, add it to 0, then carry on: 2 / 40

Step 4:
When dividing 2 by 40, we get 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 50.0
Deduct 0 from 2 and we're left with 2.
Bring next digit (0) of the dividend behind the 2 and repeat the process: 20 / 40

Advancing to step 5:
The number 40 fits into 20 0 times, leaving a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 500.0
Subtracting 0 from 20 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 6:
200 divided by 40 is 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 500.5
Subtract 200 from 200 to 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.

Step 7:
40 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 500.5
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.

Advancing to step 8:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 500.5
Subtract 0 from 0 to 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 500.5, and the remainder is 0.0.