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

Step 1:
If we divide 3 by 42, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (5) from the dividend, add it to 3, then carry on: 35 / 42

On to step 2:
The number 42 fits into 35 0 times, leaving a remainder of 35.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 35, we end up with 35.
Append the next digit (7) from the dividend to 35 and continue with: 357 / 42

Step 3:
42 can be fit into 357 8 times, resulting in a remainder of 21.
The next digit of our result is 8. 
Result so far: 8.0
If we take 336 away from 357, we end up with 21.
Fetch the next digit (3) from the dividend, attach it to 21 and continue: 213 / 42

Going ahead to step 4:
42 can be fit into 213 5 times, resulting in a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 85.0
Subtracting 210 from 213 leaves us with 3.
Include the next digit (3) from the dividend after 3, then repeat: 33 / 42

Let's proceed to step 5:
33 divided by 42 is 0 with a remainder of 33.
The next digit of our result is 0. 
Result so far: 850.0
If we subtract 0 from 33, we get 33.
Take the next digit (8) from the dividend and append it to 33, then repeat: 338 / 42

Step 6:
42 goes into 338 8 times with a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 8508.0
If we subtract 336 from 338, we 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.

Let's proceed to step 7:
42 can be fit into 20 0 times, resulting in a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 8508.0
If we subtract 0 from 20, we 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:
The number 42 fits into 200 4 times, leaving a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 8508.04
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.

Advancing to step 9:
320 divided by 42 is 7 with a remainder of 26.
The number 7 becomes the next digit in our result. 
Result so far: 8508.047
The remainder is 26 after subtracting 294 from 320.
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.
Put 6 as the next digit of the answer. 
Result so far: 8508.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.

Moving on to step 11:
If we divide 80 by 42, we get 1 and a remainder of 38.
Record the quotient 1 as the next digit in the result. 
Result so far: 8508.04761
The remainder is 38 after subtracting 42 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 12:
The number 42 fits into 380 9 times, leaving a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 8508.047619
Subtract 378 from 380 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.

Let's proceed to step 13:
If we divide 20 by 42, we get 0 and a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 8508.047619
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.

Going ahead to step 14:
42 can be fit into 200 4 times, resulting in a remainder of 32.
Write down 4 as next digit of the result. 
Result so far: 8508.04761904
Subtract 168 from 200 to 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.

After the division, we end up with 8508.04761904 and a remainder of 3.2e-08.