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

Advancing to step 1:
If we divide 3 by 78, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 78

On to step 2:
When dividing 33 by 78, we get 0 with a remainder of 33.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 33 and we're left with 33.
Include the next digit (1) from the dividend after 33, then repeat: 331 / 78

Moving on to step 3:
The number 78 fits into 331 4 times, leaving a remainder of 19.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtracting 312 from 331 leaves us with 19.
Take the next digit (6) from the dividend and append it to 19, then repeat: 196 / 78

Let's proceed to step 4:
78 goes into 196 2 times with a remainder of 40.
The next digit of our result is 2. 
Result so far: 42.0
Subtract 156 from 196 to get 40.
Append the next digit (6) from the dividend to 40 and continue with: 406 / 78

Let's proceed to step 5:
78 can be fit into 406 5 times, resulting in a remainder of 16.
Record the quotient 5 as the next digit in the result. 
Result so far: 425.0
Subtracting 390 from 406 leaves us with 16.
Grab the next digit (6) from the dividend, add it to 16, then carry on: 166 / 78

Going ahead to step 6:
The number 78 fits into 166 2 times, leaving a remainder of 10.
Put 2 as the next digit of the answer. 
Result so far: 4252.0
If we take 156 away from 166, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 7:
100 divided by 78 is 1 with a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 4252.1
If we take 78 away from 100, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 8:
78 goes into 220 2 times with a remainder of 64.
The next digit of our result is 2. 
Result so far: 4252.12
Deduct 156 from 220 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Let's proceed to step 9:
640 divided by 78 is 8 with a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 4252.128
Deduct 624 from 640 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 10:
When dividing 160 by 78, we get 2 with a remainder of 4.
The next digit of our result is 2. 
Result so far: 4252.1282
Deduct 156 from 160 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 11:
40 divided by 78 is 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 4252.1282
If we take 0 away from 40, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 12:
78 goes into 400 5 times with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 4252.128205
Subtracting 390 from 400 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 13:
78 goes into 100 1 times with a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 4252.1282051
Subtracting 78 from 100 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 14:
220 divided by 78 is 2 with a remainder of 64.
The number 2 becomes the next digit in our result. 
Result so far: 4252.12820512
If we take 156 away from 220, we end up with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

After the division, we end up with 4252.12820512 and a remainder of 6.4e-08.