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

Advancing to step 1:
51 goes into 2 0 times with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 51

On to step 2:
51 can be fit into 25 0 times, resulting in a remainder of 25.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 25 after subtracting 0 from 25.
Grab the next digit (9) from the dividend, add it to 25, then carry on: 259 / 51

On to step 3:
If we divide 259 by 51, we get 5 and a remainder of 4.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Deduct 255 from 259 and we're left with 4.
Fetch the next digit (5) from the dividend, attach it to 4 and continue: 45 / 51

Step 4:
The number 51 fits into 45 0 times, leaving a remainder of 45.
Record the quotient 0 as the next digit in the result. 
Result so far: 50.0
Subtract 0 from 45 to get 45.
Bring next digit (1) of the dividend behind the 45 and repeat the process: 451 / 51

Advancing to step 5:
The number 51 fits into 451 8 times, leaving a remainder of 43.
Write down 8 as next digit of the result. 
Result so far: 508.0
If we take 408 away from 451, we end up with 43.
Include the next digit (4) from the dividend after 43, then repeat: 434 / 51

On to step 6:
434 divided by 51 is 8 with a remainder of 26.
Put 8 as the next digit of the answer. 
Result so far: 5088.0
Subtract 408 from 434 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 7:
The number 51 fits into 260 5 times, leaving a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 5088.5
Subtracting 255 from 260 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 8:
51 goes into 50 0 times with a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 5088.5
Deduct 0 from 50 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Let's proceed to step 9:
500 divided by 51 is 9 with a remainder of 41.
The next digit of our result is 9. 
Result so far: 5088.509
Subtracting 459 from 500 leaves us with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

On to step 10:
51 can be fit into 410 8 times, resulting in a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 5088.5098
If we subtract 408 from 410, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 11:
If we divide 20 by 51, we get 0 and a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 5088.5098
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 12:
200 divided by 51 is 3 with a remainder of 47.
Use 3 as the next digit of our solution. 
Result so far: 5088.509803
If we subtract 153 from 200, we get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Advancing to step 13:
51 can be fit into 470 9 times, resulting in a remainder of 11.
The number 9 becomes the next digit in our result. 
Result so far: 5088.5098039
Subtract 459 from 470 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 14:
51 goes into 110 2 times with a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 5088.50980392
The remainder is 8 after subtracting 102 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final outcome is 5088.50980392, with a leftover of 8e-09.