401706 divided by 77 
The aim is to understand the frequency of 77 in 401706.

Step 1:
If we divide 4 by 77, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 77

Step 2:
The number 77 fits into 40 0 times, leaving a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Grab the next digit (1) from the dividend, add it to 40, then carry on: 401 / 77

Step 3:
401 divided by 77 is 5 with a remainder of 16.
Put 5 as the next digit of the answer. 
Result so far: 5.0
The remainder is 16 after subtracting 385 from 401.
Fetch the next digit (7) from the dividend, attach it to 16 and continue: 167 / 77

Moving on to step 4:
The number 77 fits into 167 2 times, leaving a remainder of 13.
Put 2 as the next digit of the answer. 
Result so far: 52.0
Deduct 154 from 167 and we're left with 13.
Include the next digit (0) from the dividend after 13, then repeat: 130 / 77

On to step 5:
If we divide 130 by 77, we get 1 and a remainder of 53.
Put 1 as the next digit of the answer. 
Result so far: 521.0
Deduct 77 from 130 and we're left with 53.
Grab the next digit (6) from the dividend, add it to 53, then carry on: 536 / 77

Step 6:
77 can be fit into 536 6 times, resulting in a remainder of 74.
The number 6 becomes the next digit in our result. 
Result so far: 5216.0
The remainder is 74 after subtracting 462 from 536.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Going ahead to step 7:
The number 77 fits into 740 9 times, leaving a remainder of 47.
The number 9 becomes the next digit in our result. 
Result so far: 5216.9
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.

Advancing to step 8:
If we divide 470 by 77, we get 6 and a remainder of 8.
The next digit of our result is 6. 
Result so far: 5216.96
If we take 462 away from 470, we end up 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.

Step 9:
77 can be fit into 80 1 times, resulting in a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 5216.961
Subtract 77 from 80 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 10:
The number 77 fits into 30 0 times, leaving a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 5216.961
Subtract 0 from 30 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.

Going ahead to step 11:
300 divided by 77 is 3 with a remainder of 69.
Record the quotient 3 as the next digit in the result. 
Result so far: 5216.96103
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 12:
When dividing 690 by 77, we get 8 with a remainder of 74.
The number 8 becomes the next digit in our result. 
Result so far: 5216.961038
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.

Let's proceed to step 13:
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: 5216.9610389
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.

Step 14:
77 goes into 470 6 times with a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 5216.96103896
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.

After the division, we end up with 5216.96103896 and a remainder of 8e-09.