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

On to step 1:
7 can be fit into 2 0 times, resulting in a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Include the next digit (4) from the dividend after 2, then repeat: 24 / 7

On to step 2:
When dividing 24 by 7, we get 3 with a remainder of 3.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 21 from 24 and we're left with 3.
Append the next digit (2) from the dividend to 3 and continue with: 32 / 7

On to step 3:
7 can be fit into 32 4 times, resulting in a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 34.0
If we subtract 28 from 32, we get 4.
Bring next digit (7) of the dividend behind the 4 and repeat the process: 47 / 7

Going ahead to step 4:
When dividing 47 by 7, we get 6 with a remainder of 5.
The next digit of our result is 6. 
Result so far: 346.0
Subtracting 42 from 47 leaves us with 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 7

Moving on to step 5:
54 divided by 7 is 7 with a remainder of 5.
The number 7 becomes the next digit in our result. 
Result so far: 3467.0
If we take 49 away from 54, we end up with 5.
Take the next digit (2) from the dividend and append it to 5, then repeat: 52 / 7

Let's proceed to step 6:
7 goes into 52 7 times with a remainder of 3.
The next digit of our result is 7. 
Result so far: 34677.0
Deduct 49 from 52 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.

Let's proceed to step 7:
When dividing 30 by 7, we get 4 with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 34677.4
Subtracting 28 from 30 leaves us 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.

On to step 8:
When dividing 20 by 7, we get 2 with a remainder of 6.
The next digit of our result is 2. 
Result so far: 34677.42
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.

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

Let's proceed to step 10:
7 goes into 40 5 times with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 34677.4285
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.

On to step 11:
When dividing 50 by 7, we get 7 with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 34677.42857
If we subtract 49 from 50, we 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.

Advancing to step 12:
If we divide 10 by 7, we get 1 and a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 34677.428571
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.

Moving on to step 13:
7 goes into 30 4 times with a remainder of 2.
The next digit of our result is 4. 
Result so far: 34677.4285714
Subtracting 28 from 30 leaves us 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 14:
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: 34677.42857142
If we take 14 away from 20, we end up 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.

The final outcome is 34677.42857142, with a leftover of 6e-09.