6877221 divided by 771 
The aim is to understand the frequency of 771 in 6877221.

On to step 1:
If we divide 6 by 771, we get 0 and a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Include the next digit (8) from the dividend after 6, then repeat: 68 / 771

Let's proceed to step 2:
771 goes into 68 0 times with a remainder of 68.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 68, we get 68.
Grab the next digit (7) from the dividend, add it to 68, then carry on: 687 / 771

Step 3:
687 divided by 771 is 0 with a remainder of 687.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 687 and we're left with 687.
Take the next digit (7) from the dividend and append it to 687, then repeat: 6877 / 771

On to step 4:
If we divide 6877 by 771, we get 8 and a remainder of 709.
Use 8 as the next digit of our solution. 
Result so far: 8.0
The remainder is 709 after subtracting 6168 from 6877.
Append the next digit (2) from the dividend to 709 and continue with: 7092 / 771

Moving on to step 5:
If we divide 7092 by 771, we get 9 and a remainder of 153.
Record the quotient 9 as the next digit in the result. 
Result so far: 89.0
The remainder is 153 after subtracting 6939 from 7092.
Include the next digit (2) from the dividend after 153, then repeat: 1532 / 771

Moving on to step 6:
The number 771 fits into 1532 1 times, leaving a remainder of 761.
Write down 1 as next digit of the result. 
Result so far: 891.0
Deduct 771 from 1532 and we're left with 761.
Grab the next digit (1) from the dividend, add it to 761, then carry on: 7611 / 771

On to step 7:
The number 771 fits into 7611 9 times, leaving a remainder of 672.
Put 9 as the next digit of the answer. 
Result so far: 8919.0
Deduct 6939 from 7611 and we're left with 672.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6720, and continue the process.

Let's proceed to step 8:
6720 divided by 771 is 8 with a remainder of 552.
The next digit of our result is 8. 
Result so far: 8919.8
If we subtract 6168 from 6720, we get 552.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5520, and continue the process.

Let's proceed to step 9:
771 goes into 5520 7 times with a remainder of 123.
Put 7 as the next digit of the answer. 
Result so far: 8919.87
If we take 5397 away from 5520, we end up with 123.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1230, and continue the process.

Step 10:
If we divide 1230 by 771, we get 1 and a remainder of 459.
The next digit of our result is 1. 
Result so far: 8919.871
The remainder is 459 after subtracting 771 from 1230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4590, and continue the process.

On to step 11:
771 can be fit into 4590 5 times, resulting in a remainder of 735.
The next digit of our result is 5. 
Result so far: 8919.8715
If we take 3855 away from 4590, we end up with 735.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7350, and continue the process.

Going ahead to step 12:
771 goes into 7350 9 times with a remainder of 411.
The next digit of our result is 9. 
Result so far: 8919.87159
Subtract 6939 from 7350 to get 411.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4110, and continue the process.

On to step 13:
When dividing 4110 by 771, we get 5 with a remainder of 255.
Use 5 as the next digit of our solution. 
Result so far: 8919.871595
Subtracting 3855 from 4110 leaves us with 255.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2550, and continue the process.

Step 14:
The number 771 fits into 2550 3 times, leaving a remainder of 237.
Use 3 as the next digit of our solution. 
Result so far: 8919.8715953
Subtracting 2313 from 2550 leaves us with 237.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2370, and continue the process.

On to step 15:
771 goes into 2370 3 times with a remainder of 57.
The next digit of our result is 3. 
Result so far: 8919.87159533
Deduct 2313 from 2370 and we're left with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

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