We look at the division of 518227 by 89 
We want to figure out the number of times 518227 can be divided by 89.

Moving on to step 1:
When dividing 5 by 89, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 89

Let's proceed to step 2:
51 divided by 89 is 0 with a remainder of 51.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Fetch the next digit (8) from the dividend, attach it to 51 and continue: 518 / 89

Moving on to step 3:
89 goes into 518 5 times with a remainder of 73.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtract 445 from 518 to get 73.
Take the next digit (2) from the dividend and append it to 73, then repeat: 732 / 89

Let's proceed to step 4:
89 can be fit into 732 8 times, resulting in a remainder of 20.
Record the quotient 8 as the next digit in the result. 
Result so far: 58.0
Deduct 712 from 732 and we're left with 20.
Bring next digit (2) of the dividend behind the 20 and repeat the process: 202 / 89

Let's proceed to step 5:
202 divided by 89 is 2 with a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 582.0
If we take 178 away from 202, we end up with 24.
Include the next digit (7) from the dividend after 24, then repeat: 247 / 89

Step 6:
When dividing 247 by 89, we get 2 with a remainder of 69.
The next digit of our result is 2. 
Result so far: 5822.0
If we take 178 away from 247, we end up with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Going ahead to step 7:
The number 89 fits into 690 7 times, leaving a remainder of 67.
Record the quotient 7 as the next digit in the result. 
Result so far: 5822.7
The remainder is 67 after subtracting 623 from 690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Going ahead to step 8:
670 divided by 89 is 7 with a remainder of 47.
Put 7 as the next digit of the answer. 
Result so far: 5822.77
If we subtract 623 from 670, we get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

The final result is 5822.77 with a remainder of 0.047.