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

Step 1:
8 divided by 7 is 1 with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 1 after subtracting 7 from 8.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 7

Step 2:
16 divided by 7 is 2 with a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 12.0
If we take 14 away from 16, we end up with 2.
Grab the next digit (4) from the dividend, add it to 2, then carry on: 24 / 7

Advancing to step 3:
7 goes into 24 3 times with a remainder of 3.
The next digit of our result is 3. 
Result so far: 123.0
Subtract 21 from 24 to get 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 7

Let's proceed to step 4:
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: 1235.0
If we take 35 away from 37, we end up with 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 7

Moving on to step 5:
The number 7 fits into 29 4 times, leaving a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 12354.0
Deduct 28 from 29 and we're left with 1.
Fetch the next digit (3) from the dividend, attach it to 1 and continue: 13 / 7

Step 6:
If we divide 13 by 7, we get 1 and a remainder of 6.
Use 1 as the next digit of our solution. 
Result so far: 123541.0
Deduct 7 from 13 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.

Advancing to step 7:
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: 123541.8
Deduct 56 from 60 and we're left 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.

Step 8:
If we divide 40 by 7, we get 5 and a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 123541.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:
7 goes into 50 7 times with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 123541.857
Subtracting 49 from 50 leaves us 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 10:
10 divided by 7 is 1 with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 123541.8571
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.

On to step 11:
When dividing 30 by 7, we get 4 with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 123541.85714
If we take 28 away from 30, we end up 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.

Advancing to step 12:
The number 7 fits into 20 2 times, leaving a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 123541.857142
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.

Moving on to step 13:
60 divided by 7 is 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 123541.8571428
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.

Advancing to step 14:
7 goes into 40 5 times with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 123541.85714285
The remainder is 5 after subtracting 35 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Our division results in 123541.85714285 with a remaining 5e-09.