We divide 157046 by 78
The aim is to understand the frequency of 78 in 157046.

Step 1:
When dividing 1 by 78, we get 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
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

On to step 2:
If we divide 15 by 78, we get 0 and a remainder of 15.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 15 after subtracting 0 from 15.
Grab the next digit (7) from the dividend, add it to 15, then carry on: 157 / 78

On to step 3:
When dividing 157 by 78, we get 2 with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 156 from 157, we get 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 78

Moving on to step 4:
The number 78 fits into 10 0 times, leaving a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 20.0
Subtract 0 from 10 to get 10.
Grab the next digit (4) from the dividend, add it to 10, then carry on: 104 / 78

Let's proceed to step 5:
The number 78 fits into 104 1 times, leaving a remainder of 26.
Put 1 as the next digit of the answer. 
Result so far: 201.0
Subtracting 78 from 104 leaves us with 26.
Take the next digit (6) from the dividend and append it to 26, then repeat: 266 / 78

On to step 6:
If we divide 266 by 78, we get 3 and a remainder of 32.
The next digit of our result is 3. 
Result so far: 2013.0
Subtracting 234 from 266 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 7:
The number 78 fits into 320 4 times, leaving a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 2013.4
Deduct 312 from 320 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 8:
78 goes into 80 1 times with a remainder of 2.
The next digit of our result is 1. 
Result so far: 2013.41
Deduct 78 from 80 and we're left with 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 9:
20 divided by 78 is 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 2013.41
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 10:
The number 78 fits into 200 2 times, leaving a remainder of 44.
Use 2 as the next digit of our solution. 
Result so far: 2013.4102
If we subtract 156 from 200, we get 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 11:
The number 78 fits into 440 5 times, leaving a remainder of 50.
The number 5 becomes the next digit in our result. 
Result so far: 2013.41025
Deduct 390 from 440 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.

Step 12:
78 can be fit into 500 6 times, resulting in a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 2013.410256
If we take 468 away from 500, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 13:
If we divide 320 by 78, we get 4 and a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 2013.4102564
Subtract 312 from 320 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 14:
When dividing 80 by 78, we get 1 with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 2013.41025641
Subtract 78 from 80 to 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.

In conclusion, the division gives 2013.41025641 with a balance of 2e-09.