We divide 511167 by 89
The aim is to understand the frequency of 89 in 511167.

Going ahead to step 1:
The number 89 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 89

Moving on to step 2:
89 goes into 51 0 times with a remainder of 51.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Append the next digit (1) from the dividend to 51 and continue with: 511 / 89

Step 3:
89 goes into 511 5 times with a remainder of 66.
The next digit of our result is 5. 
Result so far: 5.0
If we subtract 445 from 511, we get 66.
Include the next digit (1) from the dividend after 66, then repeat: 661 / 89

Going ahead to step 4:
89 goes into 661 7 times with a remainder of 38.
Use 7 as the next digit of our solution. 
Result so far: 57.0
The remainder is 38 after subtracting 623 from 661.
Include the next digit (6) from the dividend after 38, then repeat: 386 / 89

Going ahead to step 5:
89 can be fit into 386 4 times, resulting in a remainder of 30.
Put 4 as the next digit of the answer. 
Result so far: 574.0
Deduct 356 from 386 and we're left with 30.
Take the next digit (7) from the dividend and append it to 30, then repeat: 307 / 89

Moving on to step 6:
307 divided by 89 is 3 with a remainder of 40.
The number 3 becomes the next digit in our result. 
Result so far: 5743.0
Deduct 267 from 307 and we're left 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.

On to step 7:
The number 89 fits into 400 4 times, leaving a remainder of 44.
Write down 4 as next digit of the result. 
Result so far: 5743.4
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.

Advancing to step 8:
The number 89 fits into 440 4 times, leaving a remainder of 84.
Put 4 as the next digit of the answer. 
Result so far: 5743.44
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.

After the division, we end up with 5743.44 and a remainder of 0.084.