We're dividing 58221 by 87 
We want to figure out the number of times 58221 can be divided by 87.

Moving on to step 1:
87 goes into 5 0 times with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 87

Going ahead to step 2:
87 can be fit into 58 0 times, resulting in a remainder of 58.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 58 after subtracting 0 from 58.
Take the next digit (2) from the dividend and append it to 58, then repeat: 582 / 87

Let's proceed to step 3:
When dividing 582 by 87, we get 6 with a remainder of 60.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
If we take 522 away from 582, we end up with 60.
Bring next digit (2) of the dividend behind the 60 and repeat the process: 602 / 87

Advancing to step 4:
When dividing 602 by 87, we get 6 with a remainder of 80.
Record the quotient 6 as the next digit in the result. 
Result so far: 66.0
Deduct 522 from 602 and we're left with 80.
Bring next digit (1) of the dividend behind the 80 and repeat the process: 801 / 87

Going ahead to step 5:
87 goes into 801 9 times with a remainder of 18.
The next digit of our result is 9. 
Result so far: 669.0
Subtracting 783 from 801 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 6:
87 can be fit into 180 2 times, resulting in a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 669.2
Deduct 174 from 180 and we're left 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 7:
87 can be fit into 60 0 times, resulting in a remainder of 60.
Write down 0 as next digit of the result. 
Result so far: 669.2
Subtract 0 from 60 to get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Step 8:
The number 87 fits into 600 6 times, leaving a remainder of 78.
Write down 6 as next digit of the result. 
Result so far: 669.206
The remainder is 78 after subtracting 522 from 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Moving on to step 9:
780 divided by 87 is 8 with a remainder of 84.
The next digit of our result is 8. 
Result so far: 669.2068
Subtracting 696 from 780 leaves us with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Moving on to step 10:
840 divided by 87 is 9 with a remainder of 57.
The next digit of our result is 9. 
Result so far: 669.20689
Deduct 783 from 840 and we're left with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Advancing to step 11:
87 can be fit into 570 6 times, resulting in a remainder of 48.
Put 6 as the next digit of the answer. 
Result so far: 669.206896
Deduct 522 from 570 and we're left with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Step 12:
87 can be fit into 480 5 times, resulting in a remainder of 45.
Use 5 as the next digit of our solution. 
Result so far: 669.2068965
Subtract 435 from 480 to get 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Moving on to step 13:
The number 87 fits into 450 5 times, leaving a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 669.20689655
Deduct 435 from 450 and we're left 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.

In conclusion, the division gives 669.20689655 with a balance of 1.5e-08.