5209221 ÷ 989 
We want to divide 5209221 by 989.

Going ahead to step 1:
When dividing 5 by 989, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (2) from the dividend and append it to 5, then repeat: 52 / 989

Moving on to step 2:
989 goes into 52 0 times with a remainder of 52.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 52 after subtracting 0 from 52.
Append the next digit (0) from the dividend to 52 and continue with: 520 / 989

Moving on to step 3:
If we divide 520 by 989, we get 0 and a remainder of 520.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 520 leaves us with 520.
Grab the next digit (9) from the dividend, add it to 520, then carry on: 5209 / 989

Let's proceed to step 4:
989 goes into 5209 5 times with a remainder of 264.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
The remainder is 264 after subtracting 4945 from 5209.
Include the next digit (2) from the dividend after 264, then repeat: 2642 / 989

Moving on to step 5:
The number 989 fits into 2642 2 times, leaving a remainder of 664.
Put 2 as the next digit of the answer. 
Result so far: 52.0
Subtract 1978 from 2642 to get 664.
Include the next digit (2) from the dividend after 664, then repeat: 6642 / 989

Let's proceed to step 6:
The number 989 fits into 6642 6 times, leaving a remainder of 708.
The number 6 becomes the next digit in our result. 
Result so far: 526.0
Subtracting 5934 from 6642 leaves us with 708.
Grab the next digit (1) from the dividend, add it to 708, then carry on: 7081 / 989

Let's proceed to step 7:
989 can be fit into 7081 7 times, resulting in a remainder of 158.
The next digit of our result is 7. 
Result so far: 5267.0
Deduct 6923 from 7081 and we're left with 158.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

Step 8:
The number 989 fits into 1580 1 times, leaving a remainder of 591.
Record the quotient 1 as the next digit in the result. 
Result so far: 5267.1
If we take 989 away from 1580, we end up with 591.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5910, and continue the process.

Let's proceed to step 9:
The number 989 fits into 5910 5 times, leaving a remainder of 965.
The number 5 becomes the next digit in our result. 
Result so far: 5267.15
Subtract 4945 from 5910 to get 965.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9650, and continue the process.

Moving on to step 10:
The number 989 fits into 9650 9 times, leaving a remainder of 749.
The number 9 becomes the next digit in our result. 
Result so far: 5267.159
Subtract 8901 from 9650 to get 749.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7490, and continue the process.

Let's proceed to step 11:
The number 989 fits into 7490 7 times, leaving a remainder of 567.
Use 7 as the next digit of our solution. 
Result so far: 5267.1597
Subtract 6923 from 7490 to get 567.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5670, and continue the process.

Going ahead to step 12:
If we divide 5670 by 989, we get 5 and a remainder of 725.
Put 5 as the next digit of the answer. 
Result so far: 5267.15975
The remainder is 725 after subtracting 4945 from 5670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7250, and continue the process.

On to step 13:
989 goes into 7250 7 times with a remainder of 327.
The number 7 becomes the next digit in our result. 
Result so far: 5267.159757
Deduct 6923 from 7250 and we're left with 327.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3270, and continue the process.

On to step 14:
The number 989 fits into 3270 3 times, leaving a remainder of 303.
Put 3 as the next digit of the answer. 
Result so far: 5267.1597573
The remainder is 303 after subtracting 2967 from 3270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3030, and continue the process.

Advancing to step 15:
The number 989 fits into 3030 3 times, leaving a remainder of 63.
Put 3 as the next digit of the answer. 
Result so far: 5267.15975733
If we subtract 2967 from 3030, we get 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

After the division, we end up with 5267.15975733 and a remainder of 6.3e-08.