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

On to step 1:
The number 51 fits into 2 0 times, leaving a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Bring next digit (8) of the dividend behind the 2 and repeat the process: 28 / 51

Step 2:
If we divide 28 by 51, we get 0 and a remainder of 28.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 28 after subtracting 0 from 28.
Append the next digit (9) from the dividend to 28 and continue with: 289 / 51

Advancing to step 3:
When dividing 289 by 51, we get 5 with a remainder of 34.
The next digit of our result is 5. 
Result so far: 5.0
Subtract 255 from 289 to get 34.
Take the next digit (9) from the dividend and append it to 34, then repeat: 349 / 51

Moving on to step 4:
51 goes into 349 6 times with a remainder of 43.
Use 6 as the next digit of our solution. 
Result so far: 56.0
If we take 306 away from 349, we end up with 43.
Append the next digit (3) from the dividend to 43 and continue with: 433 / 51

Step 5:
When dividing 433 by 51, we get 8 with a remainder of 25.
Put 8 as the next digit of the answer. 
Result so far: 568.0
If we subtract 408 from 433, we get 25.
Grab the next digit (9) from the dividend, add it to 25, then carry on: 259 / 51

Step 6:
The number 51 fits into 259 5 times, leaving a remainder of 4.
Record the quotient 5 as the next digit in the result. 
Result so far: 5685.0
The remainder is 4 after subtracting 255 from 259.
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 7:
If we divide 40 by 51, we get 0 and a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 5685.0
Deduct 0 from 40 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.

Let's proceed to step 8:
400 divided by 51 is 7 with a remainder of 43.
The next digit of our result is 7. 
Result so far: 5685.07
Subtract 357 from 400 to get 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

On to step 9:
When dividing 430 by 51, we get 8 with a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 5685.078
Subtracting 408 from 430 leaves us 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.

Going ahead to step 10:
51 goes into 220 4 times with a remainder of 16.
The next digit of our result is 4. 
Result so far: 5685.0784
If we take 204 away from 220, we end up 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.

Moving on to step 11:
51 can be fit into 160 3 times, resulting in a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 5685.07843
Deduct 153 from 160 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 12:
70 divided by 51 is 1 with a remainder of 19.
The next digit of our result is 1. 
Result so far: 5685.078431
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.

On to step 13:
51 goes into 190 3 times with a remainder of 37.
Record the quotient 3 as the next digit in the result. 
Result so far: 5685.0784313
Subtracting 153 from 190 leaves us with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Moving on to step 14:
51 goes into 370 7 times with a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 5685.07843137
If we subtract 357 from 370, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

After the division, we end up with 5685.07843137 and a remainder of 1.3e-08.