340198 ÷ 7 
The aim is to understand the frequency of 7 in 340198.

Going ahead to step 1:
3 divided by 7 is 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 7

On to step 2:
When dividing 34 by 7, we get 4 with a remainder of 6.
The next digit of our result is 4. 
Result so far: 4.0
The remainder is 6 after subtracting 28 from 34.
Take the next digit (0) from the dividend and append it to 6, then repeat: 60 / 7

Let's proceed to step 3:
7 goes into 60 8 times with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 48.0
Subtracting 56 from 60 leaves us with 4.
Include the next digit (1) from the dividend after 4, then repeat: 41 / 7

Step 4:
7 can be fit into 41 5 times, resulting in a remainder of 6.
The number 5 becomes the next digit in our result. 
Result so far: 485.0
Deduct 35 from 41 and we're left with 6.
Take the next digit (9) from the dividend and append it to 6, then repeat: 69 / 7

Let's proceed to step 5:
7 goes into 69 9 times with a remainder of 6.
The number 9 becomes the next digit in our result. 
Result so far: 4859.0
Deduct 63 from 69 and we're left with 6.
Append the next digit (8) from the dividend to 6 and continue with: 68 / 7

Going ahead to step 6:
The number 7 fits into 68 9 times, leaving a remainder of 5.
Use 9 as the next digit of our solution. 
Result so far: 48599.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.

Step 7:
The number 7 fits into 50 7 times, leaving a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 48599.7
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 8:
10 divided by 7 is 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 48599.71
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 9:
7 can be fit into 30 4 times, resulting in a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 48599.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.

Going ahead to step 10:
7 can be fit into 20 2 times, resulting in a remainder of 6.
The next digit of our result is 2. 
Result so far: 48599.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.

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

On to step 12:
When dividing 40 by 7, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 48599.714285
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 13:
The number 7 fits into 50 7 times, leaving a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 48599.7142857
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.

Step 14:
7 goes into 10 1 times with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 48599.71428571
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.

The final result is 48599.71428571 with a remainder of 3e-09.