40538814 divided by 21 
Our goal is to divide 40538814 by 21.

On to step 1:
The number 21 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 21

Advancing to step 2:
21 goes into 40 1 times with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 19 after subtracting 21 from 40.
Append the next digit (5) from the dividend to 19 and continue with: 195 / 21

Going ahead to step 3:
When dividing 195 by 21, we get 9 with a remainder of 6.
Use 9 as the next digit of our solution. 
Result so far: 19.0
The remainder is 6 after subtracting 189 from 195.
Fetch the next digit (3) from the dividend, attach it to 6 and continue: 63 / 21

Let's proceed to step 4:
21 goes into 63 3 times with a remainder of 0.
Write down 3 as next digit of the result. 
Result so far: 193.0
Subtracting 63 from 63 leaves us with 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 21

Moving on to step 5:
If we divide 8 by 21, we get 0 and a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 1930.0
The remainder is 8 after subtracting 0 from 8.
Grab the next digit (8) from the dividend, add it to 8, then carry on: 88 / 21

Going ahead to step 6:
88 divided by 21 is 4 with a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 19304.0
Subtract 84 from 88 to get 4.
Grab the next digit (1) from the dividend, add it to 4, then carry on: 41 / 21

Moving on to step 7:
The number 21 fits into 41 1 times, leaving a remainder of 20.
Put 1 as the next digit of the answer. 
Result so far: 193041.0
The remainder is 20 after subtracting 21 from 41.
Include the next digit (4) from the dividend after 20, then repeat: 204 / 21

Let's proceed to step 8:
21 can be fit into 204 9 times, resulting in a remainder of 15.
Record the quotient 9 as the next digit in the result. 
Result so far: 1930419.0
If we take 189 away from 204, 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 9:
When dividing 150 by 21, we get 7 with a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 1930419.7
If we take 147 away from 150, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 10:
21 can be fit into 30 1 times, resulting in a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 1930419.71
The remainder is 9 after subtracting 21 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 11:
21 can be fit into 90 4 times, resulting in a remainder of 6.
The number 4 becomes the next digit in our result. 
Result so far: 1930419.714
If we take 84 away from 90, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 12:
21 goes into 60 2 times with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 1930419.7142
Subtracting 42 from 60 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 13:
21 can be fit into 180 8 times, resulting in a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 1930419.71428
Subtract 168 from 180 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 14:
The number 21 fits into 120 5 times, leaving a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 1930419.714285
Subtracting 105 from 120 leaves us 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.

Let's proceed to step 15:
21 goes into 150 7 times with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 1930419.7142857
The remainder is 3 after subtracting 147 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 16:
21 can be fit into 30 1 times, resulting in a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 1930419.71428571
Subtract 21 from 30 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

The quotient of the division is 1930419.71428571, and the remainder is 9e-09.