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

Advancing to step 1:
When dividing 8 by 7, we get 1 with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 7 from 8, we get 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 7

On to step 2:
When dividing 10 by 7, we get 1 with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Subtract 7 from 10 to get 3.
Grab the next digit (0) from the dividend, add it to 3, then carry on: 30 / 7

On to step 3:
If we divide 30 by 7, we get 4 and a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 114.0
The remainder is 2 after subtracting 28 from 30.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 7

Let's proceed to step 4:
When dividing 27 by 7, we get 3 with a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 1143.0
If we subtract 21 from 27, we get 6.
Fetch the next digit (9) from the dividend, attach it to 6 and continue: 69 / 7

On to step 5:
69 divided by 7 is 9 with a remainder of 6.
Write down 9 as next digit of the result. 
Result so far: 11439.0
Deduct 63 from 69 and we're left with 6.
Fetch the next digit (8) from the dividend, attach it to 6 and continue: 68 / 7

Let's proceed to step 6:
68 divided by 7 is 9 with a remainder of 5.
Put 9 as the next digit of the answer. 
Result so far: 114399.0
Deduct 63 from 68 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.

Advancing to step 7:
The number 7 fits into 50 7 times, leaving a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 114399.7
Subtract 49 from 50 to get 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 8:
The number 7 fits into 10 1 times, leaving a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 114399.71
Subtract 7 from 10 to 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.

Moving on to step 9:
If we divide 30 by 7, we get 4 and a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 114399.714
The remainder is 2 after subtracting 28 from 30.
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:
7 can be fit into 20 2 times, resulting in a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 114399.7142
Subtracting 14 from 20 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.

Going ahead to step 11:
7 can be fit into 60 8 times, resulting in a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 114399.71428
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.

Going ahead to step 12:
40 divided by 7 is 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 114399.714285
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.

Step 13:
7 goes into 50 7 times with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 114399.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.

On to step 14:
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: 114399.71428571
If we take 7 away from 10, we end up 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.

After the division, we end up with 114399.71428571 and a remainder of 3e-09.