877505 divided by 7 
The aim is to understand the frequency of 7 in 877505.

On to step 1:
The number 7 fits into 8 1 times, leaving a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 1 after subtracting 7 from 8.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 7

Going ahead to step 2:
7 can be fit into 17 2 times, resulting in a remainder of 3.
The next digit of our result is 2. 
Result so far: 12.0
Subtracting 14 from 17 leaves us with 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 7

Advancing to step 3:
When dividing 37 by 7, we get 5 with a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 125.0
If we subtract 35 from 37, we get 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 7

Moving on to step 4:
The number 7 fits into 25 3 times, leaving a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 1253.0
Deduct 21 from 25 and we're left with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 7

Let's proceed to step 5:
7 can be fit into 40 5 times, resulting in a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 12535.0
Subtract 35 from 40 to get 5.
Include the next digit (5) from the dividend after 5, then repeat: 55 / 7

Going ahead to step 6:
If we divide 55 by 7, we get 7 and a remainder of 6.
The number 7 becomes the next digit in our result. 
Result so far: 125357.0
Subtracting 49 from 55 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 7:
If we divide 60 by 7, we get 8 and a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 125357.8
The remainder is 4 after subtracting 56 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
When dividing 40 by 7, we get 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 125357.85
If we take 35 away from 40, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 9:
When dividing 50 by 7, we get 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 125357.857
If we take 49 away from 50, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 10:
7 can be fit into 10 1 times, resulting in a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 125357.8571
The remainder is 3 after subtracting 7 from 10.
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 11:
7 can be fit into 30 4 times, resulting in a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 125357.85714
Subtracting 28 from 30 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 12:
If we divide 20 by 7, we get 2 and a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 125357.857142
Subtract 14 from 20 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 13:
60 divided by 7 is 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 125357.8571428
Subtract 56 from 60 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.

On to step 14:
40 divided by 7 is 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 125357.85714285
If we take 35 away from 40, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The final outcome is 125357.85714285, with a leftover of 5e-09.