We're dividing 978238 by 77 
The aim is to understand the frequency of 77 in 978238.

Going ahead to step 1:
77 goes into 9 0 times with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Grab the next digit (7) from the dividend, add it to 9, then carry on: 97 / 77

Step 2:
If we divide 97 by 77, we get 1 and a remainder of 20.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 77 from 97 leaves us with 20.
Include the next digit (8) from the dividend after 20, then repeat: 208 / 77

Moving on to step 3:
208 divided by 77 is 2 with a remainder of 54.
Put 2 as the next digit of the answer. 
Result so far: 12.0
Subtract 154 from 208 to get 54.
Bring next digit (2) of the dividend behind the 54 and repeat the process: 542 / 77

On to step 4:
542 divided by 77 is 7 with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 127.0
Subtracting 539 from 542 leaves us with 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 77

Advancing to step 5:
77 goes into 33 0 times with a remainder of 33.
The next digit of our result is 0. 
Result so far: 1270.0
Subtract 0 from 33 to get 33.
Grab the next digit (8) from the dividend, add it to 33, then carry on: 338 / 77

On to step 6:
The number 77 fits into 338 4 times, leaving a remainder of 30.
Record the quotient 4 as the next digit in the result. 
Result so far: 12704.0
Subtract 308 from 338 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 7:
300 divided by 77 is 3 with a remainder of 69.
The number 3 becomes the next digit in our result. 
Result so far: 12704.3
Subtract 231 from 300 to get 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Moving on to step 8:
The number 77 fits into 690 8 times, leaving a remainder of 74.
The next digit of our result is 8. 
Result so far: 12704.38
Subtract 616 from 690 to get 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Moving on to step 9:
77 can be fit into 740 9 times, resulting in a remainder of 47.
The next digit of our result is 9. 
Result so far: 12704.389
If we take 693 away from 740, we end up with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Let's proceed to step 10:
The number 77 fits into 470 6 times, leaving a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 12704.3896
If we subtract 462 from 470, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 11:
80 divided by 77 is 1 with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 12704.38961
Subtracting 77 from 80 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 12:
If we divide 30 by 77, we get 0 and a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 12704.38961
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 13:
If we divide 300 by 77, we get 3 and a remainder of 69.
The number 3 becomes the next digit in our result. 
Result so far: 12704.3896103
Subtracting 231 from 300 leaves us with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

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

Our division results in 12704.38961038 with a remaining 7.4e-08.