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

On to step 1:
The number 77 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 77

Advancing to step 2:
If we divide 14 by 77, we get 0 and a remainder of 14.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 14, we end up with 14.
Append the next digit (7) from the dividend to 14 and continue with: 147 / 77

Step 3:
If we divide 147 by 77, we get 1 and a remainder of 70.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 70 after subtracting 77 from 147.
Grab the next digit (0) from the dividend, add it to 70, then carry on: 700 / 77

Let's proceed to step 4:
When dividing 700 by 77, we get 9 with a remainder of 7.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
Deduct 693 from 700 and we're left with 7.
Fetch the next digit (2) from the dividend, attach it to 7 and continue: 72 / 77

On to step 5:
If we divide 72 by 77, we get 0 and a remainder of 72.
Write down 0 as next digit of the result. 
Result so far: 190.0
Deduct 0 from 72 and we're left with 72.
Append the next digit (3) from the dividend to 72 and continue with: 723 / 77

Let's proceed to step 6:
77 can be fit into 723 9 times, resulting in a remainder of 30.
Write down 9 as next digit of the result. 
Result so far: 1909.0
The remainder is 30 after subtracting 693 from 723.
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 7:
77 can be fit into 300 3 times, resulting in a remainder of 69.
Write down 3 as next digit of the result. 
Result so far: 1909.3
The remainder is 69 after subtracting 231 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Going ahead to step 8:
77 goes into 690 8 times with a remainder of 74.
Use 8 as the next digit of our solution. 
Result so far: 1909.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.

Advancing to step 9:
If we divide 740 by 77, we get 9 and a remainder of 47.
Record the quotient 9 as the next digit in the result. 
Result so far: 1909.389
Subtracting 693 from 740 leaves us 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.

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

Advancing to step 11:
If we divide 80 by 77, we get 1 and a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 1909.38961
Deduct 77 from 80 and we're left 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.

Moving on to step 12:
30 divided by 77 is 0 with a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 1909.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.

Advancing to step 13:
The number 77 fits into 300 3 times, leaving a remainder of 69.
Put 3 as the next digit of the answer. 
Result so far: 1909.3896103
If we subtract 231 from 300, we 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.

On to step 14:
If we divide 690 by 77, we get 8 and a remainder of 74.
Use 8 as the next digit of our solution. 
Result so far: 1909.38961038
If we take 616 away from 690, we end up 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.

The final result is 1909.38961038 with a remainder of 7.4e-08.