We look at the division of 470774 by 78 
The aim is to understand the frequency of 78 in 470774.

On to step 1:
78 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Append the next digit (7) from the dividend to 4 and continue with: 47 / 78

Step 2:
If we divide 47 by 78, we get 0 and a remainder of 47.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 47 leaves us with 47.
Append the next digit (0) from the dividend to 47 and continue with: 470 / 78

On to step 3:
If we divide 470 by 78, we get 6 and a remainder of 2.
The next digit of our result is 6. 
Result so far: 6.0
Subtract 468 from 470 to get 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 78

Let's proceed to step 4:
When dividing 27 by 78, we get 0 with a remainder of 27.
Put 0 as the next digit of the answer. 
Result so far: 60.0
Subtracting 0 from 27 leaves us with 27.
Take the next digit (7) from the dividend and append it to 27, then repeat: 277 / 78

Moving on to step 5:
The number 78 fits into 277 3 times, leaving a remainder of 43.
Use 3 as the next digit of our solution. 
Result so far: 603.0
If we subtract 234 from 277, we get 43.
Take the next digit (4) from the dividend and append it to 43, then repeat: 434 / 78

Advancing to step 6:
If we divide 434 by 78, we get 5 and a remainder of 44.
The number 5 becomes the next digit in our result. 
Result so far: 6035.0
Subtract 390 from 434 to 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.

Let's proceed to step 7:
440 divided by 78 is 5 with a remainder of 50.
The next digit of our result is 5. 
Result so far: 6035.5
If we take 390 away from 440, we end up 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 8:
If we divide 500 by 78, we get 6 and a remainder of 32.
The next digit of our result is 6. 
Result so far: 6035.56
The remainder is 32 after subtracting 468 from 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 9:
The number 78 fits into 320 4 times, leaving a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 6035.564
Subtracting 312 from 320 leaves us 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.

On to step 10:
78 goes into 80 1 times with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 6035.5641
If we subtract 78 from 80, we 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.

On to step 11:
If we divide 20 by 78, we get 0 and a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 6035.5641
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.

Moving on to step 12:
200 divided by 78 is 2 with a remainder of 44.
Use 2 as the next digit of our solution. 
Result so far: 6035.564102
Subtracting 156 from 200 leaves us with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Moving on to step 13:
If we divide 440 by 78, we get 5 and a remainder of 50.
Put 5 as the next digit of the answer. 
Result so far: 6035.5641025
Subtract 390 from 440 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Let's proceed to step 14:
If we divide 500 by 78, we get 6 and a remainder of 32.
Put 6 as the next digit of the answer. 
Result so far: 6035.56410256
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.

The quotient of the division is 6035.56410256, and the remainder is 3.2e-08.