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

Step 1:
When dividing 2 by 42, we get 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 42

Moving on to step 2:
The number 42 fits into 27 0 times, leaving a remainder of 27.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 27, we get 27.
Append the next digit (3) from the dividend to 27 and continue with: 273 / 42

Going ahead to step 3:
If we divide 273 by 42, we get 6 and a remainder of 21.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Subtract 252 from 273 to get 21.
Append the next digit (1) from the dividend to 21 and continue with: 211 / 42

Let's proceed to step 4:
42 goes into 211 5 times with a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 65.0
If we take 210 away from 211, we end up with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 42

Let's proceed to step 5:
42 can be fit into 16 0 times, resulting in a remainder of 16.
The next digit of our result is 0. 
Result so far: 650.0
Subtracting 0 from 16 leaves us with 16.
Fetch the next digit (4) from the dividend, attach it to 16 and continue: 164 / 42

Advancing to step 6:
42 can be fit into 164 3 times, resulting in a remainder of 38.
The number 3 becomes the next digit in our result. 
Result so far: 6503.0
If we take 126 away from 164, 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 7:
42 can be fit into 380 9 times, resulting in a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 6503.9
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.

Going ahead to step 8:
20 divided by 42 is 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 6503.9
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.

Moving on to step 9:
42 goes into 200 4 times with a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 6503.904
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.

On to step 10:
42 can be fit into 320 7 times, resulting in a remainder of 26.
Use 7 as the next digit of our solution. 
Result so far: 6503.9047
If we subtract 294 from 320, we get 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 11:
260 divided by 42 is 6 with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 6503.90476
The remainder is 8 after subtracting 252 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 12:
80 divided by 42 is 1 with a remainder of 38.
Use 1 as the next digit of our solution. 
Result so far: 6503.904761
Deduct 42 from 80 and we're left 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.

Let's proceed to step 13:
42 can be fit into 380 9 times, resulting in a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 6503.9047619
Subtracting 378 from 380 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.

On to step 14:
20 divided by 42 is 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 6503.9047619
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.

The final outcome is 6503.9047619, with a leftover of 2e-08.