787967 ÷ 51 
The aim is to understand the frequency of 51 in 787967.

Step 1:
51 can be fit into 7 0 times, resulting in a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Append the next digit (8) from the dividend to 7 and continue with: 78 / 51

Advancing to step 2:
51 can be fit into 78 1 times, resulting in a remainder of 27.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 51 from 78 to get 27.
Append the next digit (7) from the dividend to 27 and continue with: 277 / 51

Let's proceed to step 3:
The number 51 fits into 277 5 times, leaving a remainder of 22.
The next digit of our result is 5. 
Result so far: 15.0
If we subtract 255 from 277, we get 22.
Grab the next digit (9) from the dividend, add it to 22, then carry on: 229 / 51

Let's proceed to step 4:
The number 51 fits into 229 4 times, leaving a remainder of 25.
Put 4 as the next digit of the answer. 
Result so far: 154.0
Subtract 204 from 229 to get 25.
Append the next digit (6) from the dividend to 25 and continue with: 256 / 51

Step 5:
When dividing 256 by 51, we get 5 with a remainder of 1.
Record the quotient 5 as the next digit in the result. 
Result so far: 1545.0
The remainder is 1 after subtracting 255 from 256.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 51

Let's proceed to step 6:
17 divided by 51 is 0 with a remainder of 17.
Write down 0 as next digit of the result. 
Result so far: 15450.0
If we take 0 away from 17, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 7:
51 can be fit into 170 3 times, resulting in a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 15450.3
The remainder is 17 after subtracting 153 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 8:
51 can be fit into 170 3 times, resulting in a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 15450.33
If we take 153 away from 170, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

The final outcome is 15450.33, with a leftover of 0.017.