We're dividing 299778 by 78 
The aim is to understand the frequency of 78 in 299778.

Moving on to step 1:
When dividing 2 by 78, we get 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 78

On to step 2:
The number 78 fits into 29 0 times, leaving a remainder of 29.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 29, we end up with 29.
Grab the next digit (9) from the dividend, add it to 29, then carry on: 299 / 78

On to step 3:
If we divide 299 by 78, we get 3 and a remainder of 65.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtracting 234 from 299 leaves us with 65.
Fetch the next digit (7) from the dividend, attach it to 65 and continue: 657 / 78

Advancing to step 4:
78 goes into 657 8 times with a remainder of 33.
The number 8 becomes the next digit in our result. 
Result so far: 38.0
Subtracting 624 from 657 leaves us with 33.
Append the next digit (7) from the dividend to 33 and continue with: 337 / 78

Step 5:
78 goes into 337 4 times with a remainder of 25.
The number 4 becomes the next digit in our result. 
Result so far: 384.0
Subtracting 312 from 337 leaves us with 25.
Append the next digit (8) from the dividend to 25 and continue with: 258 / 78

Let's proceed to step 6:
The number 78 fits into 258 3 times, leaving a remainder of 24.
Record the quotient 3 as the next digit in the result. 
Result so far: 3843.0
The remainder is 24 after subtracting 234 from 258.
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:
78 goes into 240 3 times with a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 3843.3
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.

Step 8:
78 goes into 60 0 times with a remainder of 60.
The number 0 becomes the next digit in our result. 
Result so far: 3843.3
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.

Advancing to step 9:
When dividing 600 by 78, we get 7 with a remainder of 54.
The next digit of our result is 7. 
Result so far: 3843.307
The remainder is 54 after subtracting 546 from 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Moving on to step 10:
78 can be fit into 540 6 times, resulting in a remainder of 72.
Put 6 as the next digit of the answer. 
Result so far: 3843.3076
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.

Let's proceed to step 11:
78 goes into 720 9 times with a remainder of 18.
The next digit of our result is 9. 
Result so far: 3843.30769
The remainder is 18 after subtracting 702 from 720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 12:
The number 78 fits into 180 2 times, leaving a remainder of 24.
Write down 2 as next digit of the result. 
Result so far: 3843.307692
If we take 156 away from 180, we end up 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.

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

Going ahead to step 14:
The number 78 fits into 60 0 times, leaving a remainder of 60.
Record the quotient 0 as the next digit in the result. 
Result so far: 3843.3076923
If we subtract 0 from 60, we 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.

Our division results in 3843.3076923 with a remaining 6e-08.