We divide 387564 by 77
The aim is to understand the frequency of 77 in 387564.

Let's proceed to step 1:
77 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 77

Going ahead to step 2:
77 can be fit into 38 0 times, resulting in a remainder of 38.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 38 to get 38.
Take the next digit (7) from the dividend and append it to 38, then repeat: 387 / 77

Step 3:
If we divide 387 by 77, we get 5 and a remainder of 2.
The next digit of our result is 5. 
Result so far: 5.0
If we take 385 away from 387, we end up with 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 77

Advancing to step 4:
25 divided by 77 is 0 with a remainder of 25.
The next digit of our result is 0. 
Result so far: 50.0
If we subtract 0 from 25, we get 25.
Fetch the next digit (6) from the dividend, attach it to 25 and continue: 256 / 77

Step 5:
77 can be fit into 256 3 times, resulting in a remainder of 25.
The next digit of our result is 3. 
Result so far: 503.0
If we take 231 away from 256, we end up with 25.
Take the next digit (4) from the dividend and append it to 25, then repeat: 254 / 77

On to step 6:
254 divided by 77 is 3 with a remainder of 23.
Use 3 as the next digit of our solution. 
Result so far: 5033.0
Subtracting 231 from 254 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 7:
77 goes into 230 2 times with a remainder of 76.
Use 2 as the next digit of our solution. 
Result so far: 5033.2
The remainder is 76 after subtracting 154 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

On to step 8:
760 divided by 77 is 9 with a remainder of 67.
Put 9 as the next digit of the answer. 
Result so far: 5033.29
Subtracting 693 from 760 leaves us with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Going ahead to step 9:
If we divide 670 by 77, we get 8 and a remainder of 54.
Use 8 as the next digit of our solution. 
Result so far: 5033.298
If we take 616 away from 670, 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.

Advancing to step 10:
77 goes into 540 7 times with a remainder of 1.
The next digit of our result is 7. 
Result so far: 5033.2987
If we take 539 away from 540, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 11:
When dividing 10 by 77, we get 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 5033.2987
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 12:
77 goes into 100 1 times with a remainder of 23.
Use 1 as the next digit of our solution. 
Result so far: 5033.298701
If we take 77 away from 100, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 13:
77 goes into 230 2 times with a remainder of 76.
The number 2 becomes the next digit in our result. 
Result so far: 5033.2987012
Subtracting 154 from 230 leaves us with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Step 14:
77 can be fit into 760 9 times, resulting in a remainder of 67.
Record the quotient 9 as the next digit in the result. 
Result so far: 5033.29870129
Deduct 693 from 760 and we're left with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

In conclusion, the division gives 5033.29870129 with a balance of 6.7e-08.