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

Advancing to step 1:
The number 78 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 78

Advancing to step 2:
78 can be fit into 37 0 times, resulting in a remainder of 37.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 37 to get 37.
Append the next digit (4) from the dividend to 37 and continue with: 374 / 78

Step 3:
374 divided by 78 is 4 with a remainder of 62.
Put 4 as the next digit of the answer. 
Result so far: 4.0
If we subtract 312 from 374, we get 62.
Take the next digit (8) from the dividend and append it to 62, then repeat: 628 / 78

Let's proceed to step 4:
78 goes into 628 8 times with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 48.0
Subtracting 624 from 628 leaves us with 4.
Grab the next digit (6) from the dividend, add it to 4, then carry on: 46 / 78

Moving on to step 5:
If we divide 46 by 78, we get 0 and a remainder of 46.
Use 0 as the next digit of our solution. 
Result so far: 480.0
Subtract 0 from 46 to get 46.
Take the next digit (6) from the dividend and append it to 46, then repeat: 466 / 78

Step 6:
78 goes into 466 5 times with a remainder of 76.
Put 5 as the next digit of the answer. 
Result so far: 4805.0
Subtract 390 from 466 to get 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Moving on to step 7:
The number 78 fits into 760 9 times, leaving a remainder of 58.
The number 9 becomes the next digit in our result. 
Result so far: 4805.9
The remainder is 58 after subtracting 702 from 760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

On to step 8:
78 goes into 580 7 times with a remainder of 34.
The next digit of our result is 7. 
Result so far: 4805.97
Subtracting 546 from 580 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 9:
The number 78 fits into 340 4 times, leaving a remainder of 28.
The next digit of our result is 4. 
Result so far: 4805.974
Subtract 312 from 340 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 10:
78 can be fit into 280 3 times, resulting in a remainder of 46.
The next digit of our result is 3. 
Result so far: 4805.9743
If we subtract 234 from 280, we get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

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

On to step 12:
78 goes into 700 8 times with a remainder of 76.
Use 8 as the next digit of our solution. 
Result so far: 4805.974358
Subtracting 624 from 700 leaves us with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Step 13:
78 goes into 760 9 times with a remainder of 58.
Put 9 as the next digit of the answer. 
Result so far: 4805.9743589
If we take 702 away from 760, we end up with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

On to step 14:
The number 78 fits into 580 7 times, leaving a remainder of 34.
Record the quotient 7 as the next digit in the result. 
Result so far: 4805.97435897
Subtracting 546 from 580 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

The final outcome is 4805.97435897, with a leftover of 3.4e-08.