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

Moving on to step 1:
When dividing 3 by 51, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (0) from the dividend to 3 and continue with: 30 / 51

Going ahead to step 2:
The number 51 fits into 30 0 times, leaving a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 30 and we're left with 30.
Append the next digit (7) from the dividend to 30 and continue with: 307 / 51

Going ahead to step 3:
307 divided by 51 is 6 with a remainder of 1.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Deduct 306 from 307 and we're left with 1.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 51

Going ahead to step 4:
When dividing 11 by 51, we get 0 with a remainder of 11.
Record the quotient 0 as the next digit in the result. 
Result so far: 60.0
Deduct 0 from 11 and we're left with 11.
Append the next digit (1) from the dividend to 11 and continue with: 111 / 51

Step 5:
If we divide 111 by 51, we get 2 and a remainder of 9.
The next digit of our result is 2. 
Result so far: 602.0
Deduct 102 from 111 and we're left with 9.
Grab the next digit (5) from the dividend, add it to 9, then carry on: 95 / 51

Step 6:
If we divide 95 by 51, we get 1 and a remainder of 44.
Write down 1 as next digit of the result. 
Result so far: 6021.0
If we take 51 away from 95, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Going ahead to step 7:
When dividing 440 by 51, we get 8 with a remainder of 32.
Put 8 as the next digit of the answer. 
Result so far: 6021.8
If we subtract 408 from 440, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 8:
320 divided by 51 is 6 with a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 6021.86
Subtracting 306 from 320 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 9:
The number 51 fits into 140 2 times, leaving a remainder of 38.
Write down 2 as next digit of the result. 
Result so far: 6021.862
Subtract 102 from 140 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Let's proceed to step 10:
If we divide 380 by 51, we get 7 and a remainder of 23.
The next digit of our result is 7. 
Result so far: 6021.8627
If we subtract 357 from 380, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Step 11:
51 can be fit into 230 4 times, resulting in a remainder of 26.
Use 4 as the next digit of our solution. 
Result so far: 6021.86274
Deduct 204 from 230 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 12:
260 divided by 51 is 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 6021.862745
Subtract 255 from 260 to get 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 13:
51 goes into 50 0 times with a remainder of 50.
The next digit of our result is 0. 
Result so far: 6021.862745
If we subtract 0 from 50, we get 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 14:
When dividing 500 by 51, we get 9 with a remainder of 41.
Record the quotient 9 as the next digit in the result. 
Result so far: 6021.86274509
Deduct 459 from 500 and we're left 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.

The quotient of the division is 6021.86274509, and the remainder is 4.1e-08.