We're dividing 21874447 by 589 
Our goal is to divide 21874447 by 589.

Going ahead to step 1:
2 divided by 589 is 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 589

Going ahead to step 2:
If we divide 21 by 589, we get 0 and a remainder of 21.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 21, we end up with 21.
Grab the next digit (8) from the dividend, add it to 21, then carry on: 218 / 589

Let's proceed to step 3:
The number 589 fits into 218 0 times, leaving a remainder of 218.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 218 and we're left with 218.
Grab the next digit (7) from the dividend, add it to 218, then carry on: 2187 / 589

Let's proceed to step 4:
589 goes into 2187 3 times with a remainder of 420.
The next digit of our result is 3. 
Result so far: 3.0
Subtracting 1767 from 2187 leaves us with 420.
Append the next digit (4) from the dividend to 420 and continue with: 4204 / 589

Let's proceed to step 5:
If we divide 4204 by 589, we get 7 and a remainder of 81.
Use 7 as the next digit of our solution. 
Result so far: 37.0
Subtract 4123 from 4204 to get 81.
Append the next digit (4) from the dividend to 81 and continue with: 814 / 589

Moving on to step 6:
If we divide 814 by 589, we get 1 and a remainder of 225.
Put 1 as the next digit of the answer. 
Result so far: 371.0
Subtract 589 from 814 to get 225.
Take the next digit (4) from the dividend and append it to 225, then repeat: 2254 / 589

On to step 7:
589 can be fit into 2254 3 times, resulting in a remainder of 487.
Use 3 as the next digit of our solution. 
Result so far: 3713.0
Deduct 1767 from 2254 and we're left with 487.
Include the next digit (7) from the dividend after 487, then repeat: 4877 / 589

Advancing to step 8:
4877 divided by 589 is 8 with a remainder of 165.
The next digit of our result is 8. 
Result so far: 37138.0
Deduct 4712 from 4877 and we're left with 165.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1650, and continue the process.

Going ahead to step 9:
589 can be fit into 1650 2 times, resulting in a remainder of 472.
Record the quotient 2 as the next digit in the result. 
Result so far: 37138.2
The remainder is 472 after subtracting 1178 from 1650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4720, and continue the process.

Step 10:
589 can be fit into 4720 8 times, resulting in a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 37138.28
If we take 4712 away from 4720, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 11:
589 can be fit into 80 0 times, resulting in a remainder of 80.
The number 0 becomes the next digit in our result. 
Result so far: 37138.28
The remainder is 80 after subtracting 0 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Advancing to step 12:
589 can be fit into 800 1 times, resulting in a remainder of 211.
The number 1 becomes the next digit in our result. 
Result so far: 37138.2801
If we subtract 589 from 800, we get 211.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2110, and continue the process.

Moving on to step 13:
589 goes into 2110 3 times with a remainder of 343.
Use 3 as the next digit of our solution. 
Result so far: 37138.28013
If we take 1767 away from 2110, we end up with 343.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3430, and continue the process.

Moving on to step 14:
If we divide 3430 by 589, we get 5 and a remainder of 485.
Put 5 as the next digit of the answer. 
Result so far: 37138.280135
If we take 2945 away from 3430, we end up with 485.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4850, and continue the process.

Advancing to step 15:
The number 589 fits into 4850 8 times, leaving a remainder of 138.
The next digit of our result is 8. 
Result so far: 37138.2801358
Deduct 4712 from 4850 and we're left with 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

Step 16:
589 can be fit into 1380 2 times, resulting in a remainder of 202.
Write down 2 as next digit of the result. 
Result so far: 37138.28013582
Subtract 1178 from 1380 to get 202.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2020, and continue the process.

The final result is 37138.28013582 with a remainder of 2.02e-07.