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

Let's proceed to step 1:
7 divided by 78 is 0 with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 78

Let's proceed to step 2:
78 goes into 78 1 times with a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 78 away from 78, we end up with 0.
Append the next digit (8) from the dividend to 0 and continue with: 8 / 78

Going ahead to step 3:
78 goes into 8 0 times with a remainder of 8.
The next digit of our result is 0. 
Result so far: 10.0
If we subtract 0 from 8, we get 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 78

On to step 4:
78 can be fit into 87 1 times, resulting in a remainder of 9.
The next digit of our result is 1. 
Result so far: 101.0
If we take 78 away from 87, we end up with 9.
Fetch the next digit (6) from the dividend, attach it to 9 and continue: 96 / 78

Going ahead to step 5:
If we divide 96 by 78, we get 1 and a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 1011.0
The remainder is 18 after subtracting 78 from 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 6:
78 goes into 180 2 times with a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 1011.2
The remainder is 24 after subtracting 156 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 7:
The number 78 fits into 240 3 times, leaving a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 1011.23
Deduct 234 from 240 and we're left 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 8:
78 can be fit into 60 0 times, resulting in a remainder of 60.
Use 0 as the next digit of our solution. 
Result so far: 1011.23
Deduct 0 from 60 and we're left 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.

Let's proceed to step 9:
If we divide 600 by 78, we get 7 and a remainder of 54.
The next digit of our result is 7. 
Result so far: 1011.2307
Subtract 546 from 600 to get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Advancing to step 10:
The number 78 fits into 540 6 times, leaving a remainder of 72.
The number 6 becomes the next digit in our result. 
Result so far: 1011.23076
The remainder is 72 after subtracting 468 from 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Step 11:
78 goes into 720 9 times with a remainder of 18.
Write down 9 as next digit of the result. 
Result so far: 1011.230769
Subtract 702 from 720 to get 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 12:
The number 78 fits into 180 2 times, leaving a remainder of 24.
The next digit of our result is 2. 
Result so far: 1011.2307692
If we subtract 156 from 180, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 13:
240 divided by 78 is 3 with a remainder of 6.
The next digit of our result is 3. 
Result so far: 1011.23076923
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.

The final outcome is 1011.23076923, with a leftover of 6e-09.