We're dividing 77640116 by 366 
The aim is to understand the frequency of 366 in 77640116.

Going ahead to step 1:
366 goes into 7 0 times with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Include the next digit (7) from the dividend after 7, then repeat: 77 / 366

Step 2:
The number 366 fits into 77 0 times, leaving a remainder of 77.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 77 to get 77.
Append the next digit (6) from the dividend to 77 and continue with: 776 / 366

Step 3:
If we divide 776 by 366, we get 2 and a remainder of 44.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 732 from 776 to get 44.
Take the next digit (4) from the dividend and append it to 44, then repeat: 444 / 366

Let's proceed to step 4:
366 can be fit into 444 1 times, resulting in a remainder of 78.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
Subtract 366 from 444 to get 78.
Fetch the next digit (0) from the dividend, attach it to 78 and continue: 780 / 366

Step 5:
When dividing 780 by 366, we get 2 with a remainder of 48.
Write down 2 as next digit of the result. 
Result so far: 212.0
Deduct 732 from 780 and we're left with 48.
Append the next digit (1) from the dividend to 48 and continue with: 481 / 366

Moving on to step 6:
When dividing 481 by 366, we get 1 with a remainder of 115.
The number 1 becomes the next digit in our result. 
Result so far: 2121.0
Subtract 366 from 481 to get 115.
Grab the next digit (1) from the dividend, add it to 115, then carry on: 1151 / 366

Step 7:
366 can be fit into 1151 3 times, resulting in a remainder of 53.
Write down 3 as next digit of the result. 
Result so far: 21213.0
The remainder is 53 after subtracting 1098 from 1151.
Bring next digit (6) of the dividend behind the 53 and repeat the process: 536 / 366

Going ahead to step 8:
The number 366 fits into 536 1 times, leaving a remainder of 170.
The next digit of our result is 1. 
Result so far: 212131.0
Deduct 366 from 536 and we're left with 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Moving on to step 9:
366 can be fit into 1700 4 times, resulting in a remainder of 236.
Put 4 as the next digit of the answer. 
Result so far: 212131.4
The remainder is 236 after subtracting 1464 from 1700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2360, and continue the process.

On to step 10:
When dividing 2360 by 366, we get 6 with a remainder of 164.
Write down 6 as next digit of the result. 
Result so far: 212131.46
If we take 2196 away from 2360, we end up with 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

On to step 11:
The number 366 fits into 1640 4 times, leaving a remainder of 176.
Write down 4 as next digit of the result. 
Result so far: 212131.464
Deduct 1464 from 1640 and we're left with 176.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1760, and continue the process.

Let's proceed to step 12:
When dividing 1760 by 366, we get 4 with a remainder of 296.
Use 4 as the next digit of our solution. 
Result so far: 212131.4644
Deduct 1464 from 1760 and we're left with 296.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2960, and continue the process.

The final outcome is 212131.4644, with a leftover of 0.00296.