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

Moving on to step 1:
If we divide 5 by 78, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (5) of the dividend behind the 5 and repeat the process: 55 / 78

Let's proceed to step 2:
55 divided by 78 is 0 with a remainder of 55.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 55, we get 55.
Include the next digit (1) from the dividend after 55, then repeat: 551 / 78

Step 3:
When dividing 551 by 78, we get 7 with a remainder of 5.
Use 7 as the next digit of our solution. 
Result so far: 7.0
Deduct 546 from 551 and we're left with 5.
Append the next digit (6) from the dividend to 5 and continue with: 56 / 78

On to step 4:
The number 78 fits into 56 0 times, leaving a remainder of 56.
The number 0 becomes the next digit in our result. 
Result so far: 70.0
Deduct 0 from 56 and we're left with 56.
Append the next digit (1) from the dividend to 56 and continue with: 561 / 78

Moving on to step 5:
78 goes into 561 7 times with a remainder of 15.
The next digit of our result is 7. 
Result so far: 707.0
If we subtract 546 from 561, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 6:
When dividing 150 by 78, we get 1 with a remainder of 72.
Use 1 as the next digit of our solution. 
Result so far: 707.1
The remainder is 72 after subtracting 78 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Moving on to step 7:
The number 78 fits into 720 9 times, leaving a remainder of 18.
The number 9 becomes the next digit in our result. 
Result so far: 707.19
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.

On to step 8:
When dividing 180 by 78, we get 2 with a remainder of 24.
The number 2 becomes the next digit in our result. 
Result so far: 707.192
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.

Advancing to step 9:
240 divided by 78 is 3 with a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 707.1923
Subtracting 234 from 240 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 10:
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: 707.1923
Deduct 0 from 60 and we're left 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.

Let's proceed to step 11:
The number 78 fits into 600 7 times, leaving a remainder of 54.
Record the quotient 7 as the next digit in the result. 
Result so far: 707.192307
If we take 546 away from 600, we end up 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.

Moving on to step 12:
78 goes into 540 6 times with a remainder of 72.
Put 6 as the next digit of the answer. 
Result so far: 707.1923076
Deduct 468 from 540 and we're left 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.

Step 13:
When dividing 720 by 78, we get 9 with a remainder of 18.
Write down 9 as next digit of the result. 
Result so far: 707.19230769
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 outcome is 707.19230769, with a leftover of 1.8e-08.