We look at the division of 151365 by 78 
The aim is to understand the frequency of 78 in 151365.

On to step 1:
The number 78 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 78

Step 2:
If we divide 15 by 78, we get 0 and a remainder of 15.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 15, we get 15.
Include the next digit (1) from the dividend after 15, then repeat: 151 / 78

Going ahead to step 3:
The number 78 fits into 151 1 times, leaving a remainder of 73.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 78 from 151 leaves us with 73.
Include the next digit (3) from the dividend after 73, then repeat: 733 / 78

Going ahead to step 4:
If we divide 733 by 78, we get 9 and a remainder of 31.
Write down 9 as next digit of the result. 
Result so far: 19.0
The remainder is 31 after subtracting 702 from 733.
Fetch the next digit (6) from the dividend, attach it to 31 and continue: 316 / 78

On to step 5:
When dividing 316 by 78, we get 4 with a remainder of 4.
The next digit of our result is 4. 
Result so far: 194.0
If we subtract 312 from 316, we get 4.
Grab the next digit (5) from the dividend, add it to 4, then carry on: 45 / 78

Going ahead to step 6:
The number 78 fits into 45 0 times, leaving a remainder of 45.
Use 0 as the next digit of our solution. 
Result so far: 1940.0
Subtracting 0 from 45 leaves us with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Let's proceed to step 7:
The number 78 fits into 450 5 times, leaving a remainder of 60.
Use 5 as the next digit of our solution. 
Result so far: 1940.5
Subtracting 390 from 450 leaves us with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Going ahead to step 8:
78 goes into 600 7 times with a remainder of 54.
Write down 7 as next digit of the result. 
Result so far: 1940.57
Deduct 546 from 600 and we're left with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

On to step 9:
78 goes into 540 6 times with a remainder of 72.
The next digit of our result is 6. 
Result so far: 1940.576
Deduct 468 from 540 and we're left with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Step 10:
720 divided by 78 is 9 with a remainder of 18.
Write down 9 as next digit of the result. 
Result so far: 1940.5769
Deduct 702 from 720 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 11:
The number 78 fits into 180 2 times, leaving a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 1940.57692
Deduct 156 from 180 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 12:
240 divided by 78 is 3 with a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 1940.576923
Subtracting 234 from 240 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 13:
The number 78 fits into 60 0 times, leaving a remainder of 60.
Put 0 as the next digit of the answer. 
Result so far: 1940.576923
Subtract 0 from 60 to get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Advancing to step 14:
When dividing 600 by 78, we get 7 with a remainder of 54.
Put 7 as the next digit of the answer. 
Result so far: 1940.57692307
If we take 546 away from 600, we end up with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

In conclusion, the division gives 1940.57692307 with a balance of 5.4e-08.