We look at the division of 860536 by 7 
The aim is to understand the frequency of 7 in 860536.

Step 1:
When dividing 8 by 7, we get 1 with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 7 from 8 to get 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 7

Going ahead to step 2:
16 divided by 7 is 2 with a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 12.0
Deduct 14 from 16 and we're left with 2.
Bring next digit (0) of the dividend behind the 2 and repeat the process: 20 / 7

Moving on to step 3:
7 can be fit into 20 2 times, resulting in a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 122.0
If we subtract 14 from 20, we get 6.
Append the next digit (5) from the dividend to 6 and continue with: 65 / 7

Moving on to step 4:
When dividing 65 by 7, we get 9 with a remainder of 2.
The next digit of our result is 9. 
Result so far: 1229.0
Subtracting 63 from 65 leaves us with 2.
Include the next digit (3) from the dividend after 2, then repeat: 23 / 7

On to step 5:
7 can be fit into 23 3 times, resulting in a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 12293.0
The remainder is 2 after subtracting 21 from 23.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 7

Going ahead to step 6:
7 can be fit into 26 3 times, resulting in a remainder of 5.
Write down 3 as next digit of the result. 
Result so far: 122933.0
If we take 21 away from 26, 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.

Moving on to step 7:
When dividing 50 by 7, we get 7 with a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 122933.7
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.

On to step 8:
If we divide 10 by 7, we get 1 and a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 122933.71
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.

On to step 9:
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: 122933.714
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.

Moving on to step 10:
The number 7 fits into 20 2 times, leaving a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 122933.7142
If we subtract 14 from 20, we 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.

Let's proceed to step 11:
The number 7 fits into 60 8 times, leaving a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 122933.71428
If we take 56 away from 60, we end up with 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 12:
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: 122933.714285
Deduct 35 from 40 and we're left 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.

Going ahead to step 13:
7 can be fit into 50 7 times, resulting in a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 122933.7142857
Deduct 49 from 50 and we're left 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.

Advancing to step 14:
If we divide 10 by 7, we get 1 and a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 122933.71428571
If we subtract 7 from 10, we 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.

Our division results in 122933.71428571 with a remaining 3e-09.