We divide 21089989 by 581
We're looking to find how many times 581 goes into 21089989.

Step 1:
The number 581 fits into 2 0 times, leaving a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 581

Step 2:
The number 581 fits into 21 0 times, leaving a remainder of 21.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 21 after subtracting 0 from 21.
Include the next digit (0) from the dividend after 21, then repeat: 210 / 581

Going ahead to step 3:
581 goes into 210 0 times with a remainder of 210.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 210 to get 210.
Grab the next digit (8) from the dividend, add it to 210, then carry on: 2108 / 581

Let's proceed to step 4:
The number 581 fits into 2108 3 times, leaving a remainder of 365.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we subtract 1743 from 2108, we get 365.
Take the next digit (9) from the dividend and append it to 365, then repeat: 3659 / 581

On to step 5:
When dividing 3659 by 581, we get 6 with a remainder of 173.
Record the quotient 6 as the next digit in the result. 
Result so far: 36.0
The remainder is 173 after subtracting 3486 from 3659.
Fetch the next digit (9) from the dividend, attach it to 173 and continue: 1739 / 581

Moving on to step 6:
581 goes into 1739 2 times with a remainder of 577.
Record the quotient 2 as the next digit in the result. 
Result so far: 362.0
If we subtract 1162 from 1739, we get 577.
Bring next digit (8) of the dividend behind the 577 and repeat the process: 5778 / 581

On to step 7:
The number 581 fits into 5778 9 times, leaving a remainder of 549.
The number 9 becomes the next digit in our result. 
Result so far: 3629.0
Subtract 5229 from 5778 to get 549.
Grab the next digit (9) from the dividend, add it to 549, then carry on: 5499 / 581

Step 8:
The number 581 fits into 5499 9 times, leaving a remainder of 270.
Use 9 as the next digit of our solution. 
Result so far: 36299.0
If we subtract 5229 from 5499, we get 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

Let's proceed to step 9:
581 goes into 2700 4 times with a remainder of 376.
The next digit of our result is 4. 
Result so far: 36299.4
Subtracting 2324 from 2700 leaves us with 376.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3760, and continue the process.

Let's proceed to step 10:
581 can be fit into 3760 6 times, resulting in a remainder of 274.
Put 6 as the next digit of the answer. 
Result so far: 36299.46
Deduct 3486 from 3760 and we're left with 274.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

Going ahead to step 11:
581 can be fit into 2740 4 times, resulting in a remainder of 416.
The number 4 becomes the next digit in our result. 
Result so far: 36299.464
Subtracting 2324 from 2740 leaves us with 416.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4160, and continue the process.

Moving on to step 12:
581 can be fit into 4160 7 times, resulting in a remainder of 93.
Write down 7 as next digit of the result. 
Result so far: 36299.4647
If we take 4067 away from 4160, we end up with 93.
Since there are no more digits in the dividend, we add a zero to the remainder making it 930, and continue the process.

Step 13:
581 goes into 930 1 times with a remainder of 349.
Use 1 as the next digit of our solution. 
Result so far: 36299.46471
Subtract 581 from 930 to get 349.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3490, and continue the process.

Moving on to step 14:
581 can be fit into 3490 6 times, resulting in a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 36299.464716
The remainder is 4 after subtracting 3486 from 3490.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 15:
40 divided by 581 is 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 36299.464716
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 16:
581 can be fit into 400 0 times, resulting in a remainder of 400.
The number 0 becomes the next digit in our result. 
Result so far: 36299.464716
Subtract 0 from 400 to get 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

The quotient of the division is 36299.464716, and the remainder is 4e-07.