Let's divide 877365 by 7
The aim is to understand the frequency of 7 in 877365.

Going ahead to step 1:
The number 7 fits into 8 1 times, leaving a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 1 after subtracting 7 from 8.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 7

Going ahead to step 2:
When dividing 17 by 7, we get 2 with a remainder of 3.
The next digit of our result is 2. 
Result so far: 12.0
Subtract 14 from 17 to get 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 7

Going ahead to step 3:
If we divide 37 by 7, we get 5 and a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 125.0
Subtracting 35 from 37 leaves us with 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 7

Going ahead to step 4:
When dividing 23 by 7, we get 3 with a remainder of 2.
The next digit of our result is 3. 
Result so far: 1253.0
The remainder is 2 after subtracting 21 from 23.
Append the next digit (6) from the dividend to 2 and continue with: 26 / 7

Let's proceed to step 5:
7 goes into 26 3 times with a remainder of 5.
The next digit of our result is 3. 
Result so far: 12533.0
Subtract 21 from 26 to get 5.
Take the next digit (5) from the dividend and append it to 5, then repeat: 55 / 7

Let's proceed to step 6:
7 goes into 55 7 times with a remainder of 6.
Record the quotient 7 as the next digit in the result. 
Result so far: 125337.0
The remainder is 6 after subtracting 49 from 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 7:
If we divide 60 by 7, we get 8 and a remainder of 4.
The next digit of our result is 8. 
Result so far: 125337.8
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.

Going ahead to step 8:
7 can be fit into 40 5 times, resulting in a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 125337.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.

Advancing to step 9:
If we divide 50 by 7, we get 7 and a remainder of 1.
The next digit of our result is 7. 
Result so far: 125337.857
The remainder is 1 after subtracting 49 from 50.
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:
10 divided by 7 is 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 125337.8571
Deduct 7 from 10 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.

Going ahead to step 11:
The number 7 fits into 30 4 times, leaving a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 125337.85714
Subtract 28 from 30 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 12:
7 goes into 20 2 times with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 125337.857142
Deduct 14 from 20 and we're left 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.

Let's proceed to step 13:
When dividing 60 by 7, we get 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 125337.8571428
If we subtract 56 from 60, we 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.

Going ahead to step 14:
If we divide 40 by 7, we get 5 and a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 125337.85714285
Subtract 35 from 40 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

In conclusion, the division gives 125337.85714285 with a balance of 5e-09.