We're dividing 664254 by 42 
The aim is to understand the frequency of 42 in 664254.

Let's proceed to step 1:
42 goes into 6 0 times with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Take the next digit (6) from the dividend and append it to 6, then repeat: 66 / 42

Let's proceed to step 2:
42 goes into 66 1 times with a remainder of 24.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 42 from 66 leaves us with 24.
Fetch the next digit (4) from the dividend, attach it to 24 and continue: 244 / 42

Advancing to step 3:
42 can be fit into 244 5 times, resulting in a remainder of 34.
Use 5 as the next digit of our solution. 
Result so far: 15.0
Deduct 210 from 244 and we're left with 34.
Bring next digit (2) of the dividend behind the 34 and repeat the process: 342 / 42

Moving on to step 4:
If we divide 342 by 42, we get 8 and a remainder of 6.
The next digit of our result is 8. 
Result so far: 158.0
Subtracting 336 from 342 leaves us with 6.
Include the next digit (5) from the dividend after 6, then repeat: 65 / 42

Advancing to step 5:
The number 42 fits into 65 1 times, leaving a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 1581.0
Deduct 42 from 65 and we're left with 23.
Take the next digit (4) from the dividend and append it to 23, then repeat: 234 / 42

Advancing to step 6:
234 divided by 42 is 5 with a remainder of 24.
The next digit of our result is 5. 
Result so far: 15815.0
The remainder is 24 after subtracting 210 from 234.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 7:
240 divided by 42 is 5 with a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 15815.5
Subtract 210 from 240 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 8:
42 goes into 300 7 times with a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 15815.57
The remainder is 6 after subtracting 294 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 9:
42 can be fit into 60 1 times, resulting in a remainder of 18.
The next digit of our result is 1. 
Result so far: 15815.571
Subtracting 42 from 60 leaves us 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.

On to step 10:
If we divide 180 by 42, we get 4 and a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 15815.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:
When dividing 120 by 42, we get 2 with a remainder of 36.
The number 2 becomes the next digit in our result. 
Result so far: 15815.57142
The remainder is 36 after subtracting 84 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 12:
360 divided by 42 is 8 with a remainder of 24.
Write down 8 as next digit of the result. 
Result so far: 15815.571428
Subtracting 336 from 360 leaves us 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.

Step 13:
42 can be fit into 240 5 times, resulting in a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 15815.5714285
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 14:
When dividing 300 by 42, we get 7 with a remainder of 6.
The next digit of our result is 7. 
Result so far: 15815.57142857
Subtract 294 from 300 to 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.

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