We look at the division of 332642 by 42 
The aim is to understand the frequency of 42 in 332642.

Going ahead to step 1:
42 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 42

Step 2:
If we divide 33 by 42, we get 0 and a remainder of 33.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 33 to get 33.
Fetch the next digit (2) from the dividend, attach it to 33 and continue: 332 / 42

Advancing to step 3:
332 divided by 42 is 7 with a remainder of 38.
Put 7 as the next digit of the answer. 
Result so far: 7.0
Subtract 294 from 332 to get 38.
Grab the next digit (6) from the dividend, add it to 38, then carry on: 386 / 42

On to step 4:
42 goes into 386 9 times with a remainder of 8.
The number 9 becomes the next digit in our result. 
Result so far: 79.0
Deduct 378 from 386 and we're left with 8.
Fetch the next digit (4) from the dividend, attach it to 8 and continue: 84 / 42

Going ahead to step 5:
When dividing 84 by 42, we get 2 with a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 792.0
Deduct 84 from 84 and we're left with 0.
Bring next digit (2) of the dividend behind the 0 and repeat the process: 2 / 42

Going ahead to step 6:
42 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: 7920.0
Subtracting 0 from 2 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.

Moving on to step 7:
42 goes into 20 0 times with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 7920.0
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 8:
When dividing 200 by 42, we get 4 with a remainder of 32.
Use 4 as the next digit of our solution. 
Result so far: 7920.04
If we subtract 168 from 200, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

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

Step 10:
42 can be fit into 260 6 times, resulting in a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 7920.0476
Deduct 252 from 260 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 11:
If we divide 80 by 42, we get 1 and a remainder of 38.
Put 1 as the next digit of the answer. 
Result so far: 7920.04761
If we take 42 away from 80, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 12:
If we divide 380 by 42, we get 9 and a remainder of 2.
The next digit of our result is 9. 
Result so far: 7920.047619
If we take 378 away from 380, we end up 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 13:
20 divided by 42 is 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 7920.047619
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 14:
The number 42 fits into 200 4 times, leaving a remainder of 32.
Write down 4 as next digit of the result. 
Result so far: 7920.04761904
Deduct 168 from 200 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

In conclusion, the division gives 7920.04761904 with a balance of 3.2e-08.