We look at the division of 89017 by 51 
The aim is to understand the frequency of 51 in 89017.

Going ahead to step 1:
51 goes into 8 0 times with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Take the next digit (9) from the dividend and append it to 8, then repeat: 89 / 51

Let's proceed to step 2:
The number 51 fits into 89 1 times, leaving a remainder of 38.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 51 from 89 to get 38.
Fetch the next digit (0) from the dividend, attach it to 38 and continue: 380 / 51

Moving on to step 3:
When dividing 380 by 51, we get 7 with a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 17.0
If we subtract 357 from 380, we get 23.
Fetch the next digit (1) from the dividend, attach it to 23 and continue: 231 / 51

Step 4:
If we divide 231 by 51, we get 4 and a remainder of 27.
Write down 4 as next digit of the result. 
Result so far: 174.0
If we subtract 204 from 231, we get 27.
Take the next digit (7) from the dividend and append it to 27, then repeat: 277 / 51

Let's proceed to step 5:
51 goes into 277 5 times with a remainder of 22.
Use 5 as the next digit of our solution. 
Result so far: 1745.0
If we take 255 away from 277, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 6:
If we divide 220 by 51, we get 4 and a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 1745.4
Deduct 204 from 220 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 7:
When dividing 160 by 51, we get 3 with a remainder of 7.
The next digit of our result is 3. 
Result so far: 1745.43
Subtract 153 from 160 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 8:
The number 51 fits into 70 1 times, leaving a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 1745.431
Deduct 51 from 70 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 9:
If we divide 190 by 51, we get 3 and a remainder of 37.
Put 3 as the next digit of the answer. 
Result so far: 1745.4313
If we subtract 153 from 190, we 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.

On to step 10:
51 goes into 370 7 times with a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 1745.43137
If we take 357 away from 370, 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.

Moving on to step 11:
If we divide 130 by 51, we get 2 and a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 1745.431372
Deduct 102 from 130 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 12:
When dividing 280 by 51, we get 5 with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 1745.4313725
Subtract 255 from 280 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 13:
When dividing 250 by 51, we get 4 with a remainder of 46.
Put 4 as the next digit of the answer. 
Result so far: 1745.43137254
If we subtract 204 from 250, we get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

In conclusion, the division gives 1745.43137254 with a balance of 4.6e-08.