77221 divided by 31 
We want to figure out the number of times 77221 can be divided by 31.

Going ahead to step 1:
31 goes into 7 0 times with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Append the next digit (7) from the dividend to 7 and continue with: 77 / 31

Going ahead to step 2:
31 can be fit into 77 2 times, resulting in a remainder of 15.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 15 after subtracting 62 from 77.
Take the next digit (2) from the dividend and append it to 15, then repeat: 152 / 31

Going ahead to step 3:
When dividing 152 by 31, we get 4 with a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 24.0
Deduct 124 from 152 and we're left with 28.
Append the next digit (2) from the dividend to 28 and continue with: 282 / 31

On to step 4:
282 divided by 31 is 9 with a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 249.0
If we take 279 away from 282, we end up with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 31

Going ahead to step 5:
31 can be fit into 31 1 times, resulting in a remainder of 0.
The next digit of our result is 1. 
Result so far: 2491.0
The remainder is 0 after subtracting 31 from 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 6:
When dividing 0 by 31, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 2491.0
Deduct 0 from 0 and we're left 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.

Going ahead to step 7:
The number 31 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 2491.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 2491.0 with a balance of 0.0.