Let's divide 342702 by 42
The aim is to understand the frequency of 42 in 342702.

Moving on to step 1:
3 divided by 42 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Append the next digit (4) from the dividend to 3 and continue with: 34 / 42

Step 2:
The number 42 fits into 34 0 times, leaving a remainder of 34.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 34 and we're left with 34.
Append the next digit (2) from the dividend to 34 and continue with: 342 / 42

Advancing to step 3:
If we divide 342 by 42, we get 8 and a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Subtracting 336 from 342 leaves us with 6.
Take the next digit (7) from the dividend and append it to 6, then repeat: 67 / 42

Let's proceed to step 4:
The number 42 fits into 67 1 times, leaving a remainder of 25.
Write down 1 as next digit of the result. 
Result so far: 81.0
Subtract 42 from 67 to get 25.
Append the next digit (0) from the dividend to 25 and continue with: 250 / 42

Let's proceed to step 5:
If we divide 250 by 42, we get 5 and a remainder of 40.
Record the quotient 5 as the next digit in the result. 
Result so far: 815.0
If we take 210 away from 250, we end up with 40.
Grab the next digit (2) from the dividend, add it to 40, then carry on: 402 / 42

Moving on to step 6:
If we divide 402 by 42, we get 9 and a remainder of 24.
Use 9 as the next digit of our solution. 
Result so far: 8159.0
If we take 378 away from 402, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 7:
42 goes into 240 5 times with a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 8159.5
Subtracting 210 from 240 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 8:
The number 42 fits into 300 7 times, leaving a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 8159.57
If we take 294 away from 300, 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.

Let's proceed to step 9:
If we divide 60 by 42, we get 1 and a remainder of 18.
The next digit of our result is 1. 
Result so far: 8159.571
Deduct 42 from 60 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 10:
180 divided by 42 is 4 with a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 8159.5714
Subtract 168 from 180 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 11:
120 divided by 42 is 2 with a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 8159.57142
Subtracting 84 from 120 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 12:
42 can be fit into 360 8 times, resulting in a remainder of 24.
The number 8 becomes the next digit in our result. 
Result so far: 8159.571428
Deduct 336 from 360 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 13:
If we divide 240 by 42, we get 5 and a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 8159.5714285
Deduct 210 from 240 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 14:
When dividing 300 by 42, we get 7 with a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 8159.57142857
If we take 294 away from 300, 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 quotient of the division is 8159.57142857, and the remainder is 6e-09.