We look at the division of 862217 by 89 
The aim is to understand the frequency of 89 in 862217.

Let's proceed to step 1:
If we divide 8 by 89, we get 0 and a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Take the next digit (6) from the dividend and append it to 8, then repeat: 86 / 89

On to step 2:
86 divided by 89 is 0 with a remainder of 86.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 86, we end up with 86.
Grab the next digit (2) from the dividend, add it to 86, then carry on: 862 / 89

Let's proceed to step 3:
If we divide 862 by 89, we get 9 and a remainder of 61.
Put 9 as the next digit of the answer. 
Result so far: 9.0
Subtracting 801 from 862 leaves us with 61.
Include the next digit (2) from the dividend after 61, then repeat: 612 / 89

Going ahead to step 4:
If we divide 612 by 89, we get 6 and a remainder of 78.
Use 6 as the next digit of our solution. 
Result so far: 96.0
Deduct 534 from 612 and we're left with 78.
Bring next digit (1) of the dividend behind the 78 and repeat the process: 781 / 89

Moving on to step 5:
If we divide 781 by 89, we get 8 and a remainder of 69.
Use 8 as the next digit of our solution. 
Result so far: 968.0
The remainder is 69 after subtracting 712 from 781.
Take the next digit (7) from the dividend and append it to 69, then repeat: 697 / 89

Going ahead to step 6:
The number 89 fits into 697 7 times, leaving a remainder of 74.
Put 7 as the next digit of the answer. 
Result so far: 9687.0
If we subtract 623 from 697, we get 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Moving on to step 7:
If we divide 740 by 89, we get 8 and a remainder of 28.
Record the quotient 8 as the next digit in the result. 
Result so far: 9687.8
If we subtract 712 from 740, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 8:
280 divided by 89 is 3 with a remainder of 13.
The next digit of our result is 3. 
Result so far: 9687.83
If we take 267 away from 280, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 9:
If we divide 130 by 89, we get 1 and a remainder of 41.
Put 1 as the next digit of the answer. 
Result so far: 9687.831
Subtracting 89 from 130 leaves us with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

On to step 10:
When dividing 410 by 89, we get 4 with a remainder of 54.
Record the quotient 4 as the next digit in the result. 
Result so far: 9687.8314
If we take 356 away from 410, we end up with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

On to step 11:
89 can be fit into 540 6 times, resulting in a remainder of 6.
Put 6 as the next digit of the answer. 
Result so far: 9687.83146
If we take 534 away from 540, we end up 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.

Step 12:
60 divided by 89 is 0 with a remainder of 60.
Write down 0 as next digit of the result. 
Result so far: 9687.83146
Subtracting 0 from 60 leaves us with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 13:
89 goes into 600 6 times with a remainder of 66.
Use 6 as the next digit of our solution. 
Result so far: 9687.8314606
Deduct 534 from 600 and we're left with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Going ahead to step 14:
89 can be fit into 660 7 times, resulting in a remainder of 37.
Put 7 as the next digit of the answer. 
Result so far: 9687.83146067
Subtract 623 from 660 to get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

In conclusion, the division gives 9687.83146067 with a balance of 3.7e-08.