165226 divided by 78 
The aim is to understand the frequency of 78 in 165226.

Going ahead to step 1:
78 can be fit into 1 0 times, resulting in a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 78

Step 2:
When dividing 16 by 78, we get 0 with a remainder of 16.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 16, we get 16.
Include the next digit (5) from the dividend after 16, then repeat: 165 / 78

Going ahead to step 3:
When dividing 165 by 78, we get 2 with a remainder of 9.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 156 from 165 leaves us with 9.
Append the next digit (2) from the dividend to 9 and continue with: 92 / 78

Step 4:
When dividing 92 by 78, we get 1 with a remainder of 14.
Write down 1 as next digit of the result. 
Result so far: 21.0
If we take 78 away from 92, we end up with 14.
Bring next digit (2) of the dividend behind the 14 and repeat the process: 142 / 78

Advancing to step 5:
78 goes into 142 1 times with a remainder of 64.
Write down 1 as next digit of the result. 
Result so far: 211.0
Subtracting 78 from 142 leaves us with 64.
Include the next digit (6) from the dividend after 64, then repeat: 646 / 78

On to step 6:
646 divided by 78 is 8 with a remainder of 22.
Record the quotient 8 as the next digit in the result. 
Result so far: 2118.0
The remainder is 22 after subtracting 624 from 646.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 7:
When dividing 220 by 78, we get 2 with a remainder of 64.
Write down 2 as next digit of the result. 
Result so far: 2118.2
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.

Moving on to step 8:
78 goes into 640 8 times with a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 2118.28
If we take 624 away from 640, we end up 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.

Going ahead to step 9:
160 divided by 78 is 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 2118.282
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.

Advancing to step 10:
78 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 2118.282
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 11:
The number 78 fits into 400 5 times, leaving a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 2118.28205
If we subtract 390 from 400, we get 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 12:
78 goes into 100 1 times with a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 2118.282051
The remainder is 22 after subtracting 78 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 13:
220 divided by 78 is 2 with a remainder of 64.
The next digit of our result is 2. 
Result so far: 2118.2820512
The remainder is 64 after subtracting 156 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

On to step 14:
When dividing 640 by 78, we get 8 with a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 2118.28205128
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.

In conclusion, the division gives 2118.28205128 with a balance of 1.6e-08.