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

Going ahead to step 1:
51 goes into 1 0 times with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 51

Let's proceed to step 2:
51 can be fit into 15 0 times, resulting in a remainder of 15.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 15 and we're left with 15.
Grab the next digit (1) from the dividend, add it to 15, then carry on: 151 / 51

Advancing to step 3:
51 goes into 151 2 times with a remainder of 49.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we take 102 away from 151, we end up with 49.
Grab the next digit (9) from the dividend, add it to 49, then carry on: 499 / 51

Advancing to step 4:
The number 51 fits into 499 9 times, leaving a remainder of 40.
Use 9 as the next digit of our solution. 
Result so far: 29.0
If we take 459 away from 499, we end up with 40.
Append the next digit (5) from the dividend to 40 and continue with: 405 / 51

Step 5:
The number 51 fits into 405 7 times, leaving a remainder of 48.
Use 7 as the next digit of our solution. 
Result so far: 297.0
Deduct 357 from 405 and we're left with 48.
Grab the next digit (6) from the dividend, add it to 48, then carry on: 486 / 51

Step 6:
486 divided by 51 is 9 with a remainder of 27.
The next digit of our result is 9. 
Result so far: 2979.0
Subtracting 459 from 486 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 7:
270 divided by 51 is 5 with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 2979.5
Deduct 255 from 270 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 8:
51 goes into 150 2 times with a remainder of 48.
Put 2 as the next digit of the answer. 
Result so far: 2979.52
Subtract 102 from 150 to get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Step 9:
The number 51 fits into 480 9 times, leaving a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 2979.529
If we take 459 away from 480, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 10:
When dividing 210 by 51, we get 4 with a remainder of 6.
Put 4 as the next digit of the answer. 
Result so far: 2979.5294
Subtract 204 from 210 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 11:
If we divide 60 by 51, we get 1 and a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 2979.52941
If we subtract 51 from 60, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 12:
51 goes into 90 1 times with a remainder of 39.
Put 1 as the next digit of the answer. 
Result so far: 2979.529411
If we subtract 51 from 90, we get 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

The quotient of the division is 2979.529411, and the remainder is 3.9e-06.