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

On to step 1:
The number 78 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 78

Going ahead to step 2:
36 divided by 78 is 0 with a remainder of 36.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 36, we end up with 36.
Fetch the next digit (3) from the dividend, attach it to 36 and continue: 363 / 78

Step 3:
The number 78 fits into 363 4 times, leaving a remainder of 51.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we subtract 312 from 363, we get 51.
Fetch the next digit (2) from the dividend, attach it to 51 and continue: 512 / 78

On to step 4:
512 divided by 78 is 6 with a remainder of 44.
The number 6 becomes the next digit in our result. 
Result so far: 46.0
Deduct 468 from 512 and we're left with 44.
Fetch the next digit (2) from the dividend, attach it to 44 and continue: 442 / 78

Advancing to step 5:
78 goes into 442 5 times with a remainder of 52.
Use 5 as the next digit of our solution. 
Result so far: 465.0
The remainder is 52 after subtracting 390 from 442.
Include the next digit (2) from the dividend after 52, then repeat: 522 / 78

On to step 6:
522 divided by 78 is 6 with a remainder of 54.
Record the quotient 6 as the next digit in the result. 
Result so far: 4656.0
The remainder is 54 after subtracting 468 from 522.
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 7:
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: 4656.6
If we subtract 468 from 540, we get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

On to step 8:
The number 78 fits into 720 9 times, leaving a remainder of 18.
Use 9 as the next digit of our solution. 
Result so far: 4656.69
If we take 702 away from 720, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 9:
78 can be fit into 180 2 times, resulting in a remainder of 24.
Use 2 as the next digit of our solution. 
Result so far: 4656.692
Subtract 156 from 180 to 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.

Moving on to step 10:
The number 78 fits into 240 3 times, leaving a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 4656.6923
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 11:
The number 78 fits into 60 0 times, leaving a remainder of 60.
Put 0 as the next digit of the answer. 
Result so far: 4656.6923
If we take 0 away from 60, we end up 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.

On to step 12:
78 can be fit into 600 7 times, resulting in a remainder of 54.
The next digit of our result is 7. 
Result so far: 4656.692307
Deduct 546 from 600 and we're left with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Going ahead to step 13:
The number 78 fits into 540 6 times, leaving a remainder of 72.
Use 6 as the next digit of our solution. 
Result so far: 4656.6923076
If we take 468 away from 540, we end up with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Going ahead to step 14:
78 goes into 720 9 times with a remainder of 18.
Write down 9 as next digit of the result. 
Result so far: 4656.69230769
If we subtract 702 from 720, we 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.

The final result is 4656.69230769 with a remainder of 1.8e-08.