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

On to step 1:
The number 77 fits into 7 0 times, leaving a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 77

Advancing to step 2:
If we divide 78 by 77, we get 1 and a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 1 after subtracting 77 from 78.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 77

Advancing to step 3:
77 goes into 13 0 times with a remainder of 13.
The next digit of our result is 0. 
Result so far: 10.0
If we take 0 away from 13, we end up with 13.
Grab the next digit (2) from the dividend, add it to 13, then carry on: 132 / 77

Advancing to step 4:
When dividing 132 by 77, we get 1 with a remainder of 55.
Put 1 as the next digit of the answer. 
Result so far: 101.0
Subtract 77 from 132 to get 55.
Append the next digit (2) from the dividend to 55 and continue with: 552 / 77

Moving on to step 5:
77 can be fit into 552 7 times, resulting in a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 1017.0
The remainder is 13 after subtracting 539 from 552.
Fetch the next digit (9) from the dividend, attach it to 13 and continue: 139 / 77

Advancing to step 6:
139 divided by 77 is 1 with a remainder of 62.
Write down 1 as next digit of the result. 
Result so far: 10171.0
The remainder is 62 after subtracting 77 from 139.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Moving on to step 7:
77 can be fit into 620 8 times, resulting in a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 10171.8
Subtract 616 from 620 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 8:
When dividing 40 by 77, we get 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 10171.8
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 9:
If we divide 400 by 77, we get 5 and a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 10171.805
Subtract 385 from 400 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 10:
77 goes into 150 1 times with a remainder of 73.
Write down 1 as next digit of the result. 
Result so far: 10171.8051
If we subtract 77 from 150, we get 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

Advancing to step 11:
730 divided by 77 is 9 with a remainder of 37.
Write down 9 as next digit of the result. 
Result so far: 10171.80519
Deduct 693 from 730 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Let's proceed to step 12:
77 goes into 370 4 times with a remainder of 62.
The number 4 becomes the next digit in our result. 
Result so far: 10171.805194
If we take 308 away from 370, we end up with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Let's proceed to step 13:
When dividing 620 by 77, we get 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 10171.8051948
The remainder is 4 after subtracting 616 from 620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 14:
When dividing 40 by 77, we get 0 with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 10171.8051948
If we take 0 away from 40, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

After the division, we end up with 10171.8051948 and a remainder of 4e-08.