Let's divide 866540 by 89
The aim is to understand the frequency of 89 in 866540.

Step 1:
89 can be fit into 8 0 times, resulting in a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Grab the next digit (6) from the dividend, add it to 8, then carry on: 86 / 89

Let's proceed to step 2:
89 can be fit into 86 0 times, resulting in a remainder of 86.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 86 and we're left with 86.
Include the next digit (6) from the dividend after 86, then repeat: 866 / 89

Going ahead to step 3:
89 can be fit into 866 9 times, resulting in a remainder of 65.
Write down 9 as next digit of the result. 
Result so far: 9.0
Deduct 801 from 866 and we're left with 65.
Fetch the next digit (5) from the dividend, attach it to 65 and continue: 655 / 89

Step 4:
When dividing 655 by 89, we get 7 with a remainder of 32.
The next digit of our result is 7. 
Result so far: 97.0
Subtract 623 from 655 to get 32.
Grab the next digit (4) from the dividend, add it to 32, then carry on: 324 / 89

Advancing to step 5:
89 can be fit into 324 3 times, resulting in a remainder of 57.
The number 3 becomes the next digit in our result. 
Result so far: 973.0
Subtract 267 from 324 to get 57.
Bring next digit (0) of the dividend behind the 57 and repeat the process: 570 / 89

Going ahead to step 6:
When dividing 570 by 89, we get 6 with a remainder of 36.
The number 6 becomes the next digit in our result. 
Result so far: 9736.0
Subtracting 534 from 570 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 7:
360 divided by 89 is 4 with a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 9736.4
If we take 356 away from 360, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 8:
The number 89 fits into 40 0 times, leaving a remainder of 40.
The next digit of our result is 0. 
Result so far: 9736.4
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 9:
400 divided by 89 is 4 with a remainder of 44.
The next digit of our result is 4. 
Result so far: 9736.404
If we subtract 356 from 400, we get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Moving on to step 10:
89 goes into 440 4 times with a remainder of 84.
Put 4 as the next digit of the answer. 
Result so far: 9736.4044
If we take 356 away from 440, we end up 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.

The quotient of the division is 9736.4044, and the remainder is 0.00084.