371789 ÷ 77 
The aim is to understand the frequency of 77 in 371789.

On to step 1:
If we divide 3 by 77, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 77

On to step 2:
The number 77 fits into 37 0 times, leaving a remainder of 37.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 37 after subtracting 0 from 37.
Append the next digit (1) from the dividend to 37 and continue with: 371 / 77

Moving on to step 3:
When dividing 371 by 77, we get 4 with a remainder of 63.
Put 4 as the next digit of the answer. 
Result so far: 4.0
The remainder is 63 after subtracting 308 from 371.
Append the next digit (7) from the dividend to 63 and continue with: 637 / 77

Moving on to step 4:
The number 77 fits into 637 8 times, leaving a remainder of 21.
Use 8 as the next digit of our solution. 
Result so far: 48.0
If we subtract 616 from 637, we get 21.
Include the next digit (8) from the dividend after 21, then repeat: 218 / 77

On to step 5:
77 can be fit into 218 2 times, resulting in a remainder of 64.
Use 2 as the next digit of our solution. 
Result so far: 482.0
If we subtract 154 from 218, we get 64.
Bring next digit (9) of the dividend behind the 64 and repeat the process: 649 / 77

Step 6:
The number 77 fits into 649 8 times, leaving a remainder of 33.
The next digit of our result is 8. 
Result so far: 4828.0
If we subtract 616 from 649, we get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Step 7:
77 can be fit into 330 4 times, resulting in a remainder of 22.
Put 4 as the next digit of the answer. 
Result so far: 4828.4
Deduct 308 from 330 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 8:
When dividing 220 by 77, we get 2 with a remainder of 66.
Record the quotient 2 as the next digit in the result. 
Result so far: 4828.42
The remainder is 66 after subtracting 154 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Let's proceed to step 9:
77 goes into 660 8 times with a remainder of 44.
Write down 8 as next digit of the result. 
Result so far: 4828.428
Subtracting 616 from 660 leaves us with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Going ahead to step 10:
77 can be fit into 440 5 times, resulting in a remainder of 55.
Use 5 as the next digit of our solution. 
Result so far: 4828.4285
Subtract 385 from 440 to get 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Step 11:
77 goes into 550 7 times with a remainder of 11.
Write down 7 as next digit of the result. 
Result so far: 4828.42857
If we subtract 539 from 550, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 12:
The number 77 fits into 110 1 times, leaving a remainder of 33.
Put 1 as the next digit of the answer. 
Result so far: 4828.428571
Subtract 77 from 110 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Let's proceed to step 13:
When dividing 330 by 77, we get 4 with a remainder of 22.
Put 4 as the next digit of the answer. 
Result so far: 4828.4285714
Subtracting 308 from 330 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 14:
77 goes into 220 2 times with a remainder of 66.
The number 2 becomes the next digit in our result. 
Result so far: 4828.42857142
Deduct 154 from 220 and we're left with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

In conclusion, the division gives 4828.42857142 with a balance of 6.6e-08.