We look at the division of 367131 by 77 
The aim is to understand the frequency of 77 in 367131.

Moving on to step 1:
3 divided by 77 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (6) from the dividend, attach it to 3 and continue: 36 / 77

Moving on to step 2:
77 goes into 36 0 times with a remainder of 36.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 36 and we're left with 36.
Grab the next digit (7) from the dividend, add it to 36, then carry on: 367 / 77

Moving on to step 3:
The number 77 fits into 367 4 times, leaving a remainder of 59.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we subtract 308 from 367, we get 59.
Grab the next digit (1) from the dividend, add it to 59, then carry on: 591 / 77

Moving on to step 4:
The number 77 fits into 591 7 times, leaving a remainder of 52.
The next digit of our result is 7. 
Result so far: 47.0
If we subtract 539 from 591, we get 52.
Include the next digit (3) from the dividend after 52, then repeat: 523 / 77

Moving on to step 5:
77 goes into 523 6 times with a remainder of 61.
The number 6 becomes the next digit in our result. 
Result so far: 476.0
If we subtract 462 from 523, we get 61.
Grab the next digit (1) from the dividend, add it to 61, then carry on: 611 / 77

Step 6:
If we divide 611 by 77, we get 7 and a remainder of 72.
The number 7 becomes the next digit in our result. 
Result so far: 4767.0
If we take 539 away from 611, we end up 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 7:
If we divide 720 by 77, we get 9 and a remainder of 27.
Record the quotient 9 as the next digit in the result. 
Result so far: 4767.9
Subtracting 693 from 720 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 8:
If we divide 270 by 77, we get 3 and a remainder of 39.
Put 3 as the next digit of the answer. 
Result so far: 4767.93
If we subtract 231 from 270, we get 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Advancing to step 9:
390 divided by 77 is 5 with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 4767.935
Deduct 385 from 390 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 10:
The number 77 fits into 50 0 times, leaving a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 4767.935
Subtract 0 from 50 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 11:
500 divided by 77 is 6 with a remainder of 38.
Record the quotient 6 as the next digit in the result. 
Result so far: 4767.93506
Subtract 462 from 500 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 12:
380 divided by 77 is 4 with a remainder of 72.
Put 4 as the next digit of the answer. 
Result so far: 4767.935064
The remainder is 72 after subtracting 308 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

On to step 13:
When dividing 720 by 77, we get 9 with a remainder of 27.
The number 9 becomes the next digit in our result. 
Result so far: 4767.9350649
Deduct 693 from 720 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 14:
When dividing 270 by 77, we get 3 with a remainder of 39.
Write down 3 as next digit of the result. 
Result so far: 4767.93506493
If we take 231 away from 270, we end up with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

The final result is 4767.93506493 with a remainder of 3.9e-08.