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

Advancing to step 1:
77 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 77

On to step 2:
The number 77 fits into 39 0 times, leaving a remainder of 39.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Bring next digit (1) of the dividend behind the 39 and repeat the process: 391 / 77

Moving on to step 3:
When dividing 391 by 77, we get 5 with a remainder of 6.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Deduct 385 from 391 and we're left with 6.
Include the next digit (0) from the dividend after 6, then repeat: 60 / 77

On to step 4:
77 goes into 60 0 times with a remainder of 60.
Write down 0 as next digit of the result. 
Result so far: 50.0
Deduct 0 from 60 and we're left with 60.
Append the next digit (8) from the dividend to 60 and continue with: 608 / 77

Going ahead to step 5:
If we divide 608 by 77, we get 7 and a remainder of 69.
The next digit of our result is 7. 
Result so far: 507.0
Subtracting 539 from 608 leaves us with 69.
Grab the next digit (5) from the dividend, add it to 69, then carry on: 695 / 77

Step 6:
695 divided by 77 is 9 with a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 5079.0
Deduct 693 from 695 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 7:
20 divided by 77 is 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 5079.0
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 8:
If we divide 200 by 77, we get 2 and a remainder of 46.
Record the quotient 2 as the next digit in the result. 
Result so far: 5079.02
If we subtract 154 from 200, we get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Advancing to step 9:
The number 77 fits into 460 5 times, leaving a remainder of 75.
The next digit of our result is 5. 
Result so far: 5079.025
Subtract 385 from 460 to get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Going ahead to step 10:
77 can be fit into 750 9 times, resulting in a remainder of 57.
The next digit of our result is 9. 
Result so far: 5079.0259
The remainder is 57 after subtracting 693 from 750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Advancing to step 11:
When dividing 570 by 77, we get 7 with a remainder of 31.
The number 7 becomes the next digit in our result. 
Result so far: 5079.02597
Subtracting 539 from 570 leaves us with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 12:
77 can be fit into 310 4 times, resulting in a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 5079.025974
Deduct 308 from 310 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 13:
20 divided by 77 is 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 5079.025974
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 14:
77 goes into 200 2 times with a remainder of 46.
Write down 2 as next digit of the result. 
Result so far: 5079.02597402
Subtract 154 from 200 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

The final outcome is 5079.02597402, with a leftover of 4.6e-08.