We divide 162742 by 42
The aim is to understand the frequency of 42 in 162742.

Let's proceed to step 1:
42 goes into 1 0 times with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 42

Going ahead to step 2:
42 can be fit into 16 0 times, resulting in a remainder of 16.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 16, we get 16.
Append the next digit (2) from the dividend to 16 and continue with: 162 / 42

Step 3:
162 divided by 42 is 3 with a remainder of 36.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we take 126 away from 162, we end up with 36.
Fetch the next digit (7) from the dividend, attach it to 36 and continue: 367 / 42

Going ahead to step 4:
42 goes into 367 8 times with a remainder of 31.
The number 8 becomes the next digit in our result. 
Result so far: 38.0
Subtracting 336 from 367 leaves us with 31.
Append the next digit (4) from the dividend to 31 and continue with: 314 / 42

Going ahead to step 5:
When dividing 314 by 42, we get 7 with a remainder of 20.
Write down 7 as next digit of the result. 
Result so far: 387.0
Deduct 294 from 314 and we're left with 20.
Take the next digit (2) from the dividend and append it to 20, then repeat: 202 / 42

Step 6:
202 divided by 42 is 4 with a remainder of 34.
Use 4 as the next digit of our solution. 
Result so far: 3874.0
Subtract 168 from 202 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 7:
When dividing 340 by 42, we get 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 3874.8
If we subtract 336 from 340, 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.

Going ahead to step 8:
42 can be fit into 40 0 times, resulting in a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 3874.8
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 9:
42 goes into 400 9 times with a remainder of 22.
Record the quotient 9 as the next digit in the result. 
Result so far: 3874.809
Subtract 378 from 400 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 10:
When dividing 220 by 42, we get 5 with a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 3874.8095
The remainder is 10 after subtracting 210 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 11:
The number 42 fits into 100 2 times, leaving a remainder of 16.
The next digit of our result is 2. 
Result so far: 3874.80952
Deduct 84 from 100 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 12:
160 divided by 42 is 3 with a remainder of 34.
Put 3 as the next digit of the answer. 
Result so far: 3874.809523
If we take 126 away from 160, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 13:
If we divide 340 by 42, we get 8 and a remainder of 4.
The next digit of our result is 8. 
Result so far: 3874.8095238
The remainder is 4 after subtracting 336 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 14:
When dividing 40 by 42, we get 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 3874.8095238
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

The quotient of the division is 3874.8095238, and the remainder is 4e-08.