586511 divided by 89 
The aim is to understand the frequency of 89 in 586511.

Step 1:
If we divide 5 by 89, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 89

Moving on to step 2:
When dividing 58 by 89, we get 0 with a remainder of 58.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 58, we end up with 58.
Append the next digit (6) from the dividend to 58 and continue with: 586 / 89

Moving on to step 3:
When dividing 586 by 89, we get 6 with a remainder of 52.
Write down 6 as next digit of the result. 
Result so far: 6.0
If we take 534 away from 586, we end up with 52.
Take the next digit (5) from the dividend and append it to 52, then repeat: 525 / 89

Going ahead to step 4:
The number 89 fits into 525 5 times, leaving a remainder of 80.
Write down 5 as next digit of the result. 
Result so far: 65.0
Deduct 445 from 525 and we're left with 80.
Take the next digit (1) from the dividend and append it to 80, then repeat: 801 / 89

Let's proceed to step 5:
The number 89 fits into 801 9 times, leaving a remainder of 0.
Use 9 as the next digit of our solution. 
Result so far: 659.0
If we subtract 801 from 801, we get 0.
Append the next digit (1) from the dividend to 0 and continue with: 1 / 89

Step 6:
When dividing 1 by 89, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 6590.0
If we take 0 away from 1, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 7:
If we divide 10 by 89, we get 0 and a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 6590.0
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
When dividing 100 by 89, we get 1 with a remainder of 11.
Record the quotient 1 as the next digit in the result. 
Result so far: 6590.01
Deduct 89 from 100 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 9:
The number 89 fits into 110 1 times, leaving a remainder of 21.
Use 1 as the next digit of our solution. 
Result so far: 6590.011
Subtract 89 from 110 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Our division results in 6590.011 with a remaining 0.0021.