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

Step 1:
42 goes into 2 0 times with a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 42

Advancing to step 2:
If we divide 22 by 42, we get 0 and a remainder of 22.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 22, we end up with 22.
Fetch the next digit (1) from the dividend, attach it to 22 and continue: 221 / 42

Step 3:
When dividing 221 by 42, we get 5 with a remainder of 11.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we take 210 away from 221, we end up with 11.
Take the next digit (8) from the dividend and append it to 11, then repeat: 118 / 42

Going ahead to step 4:
118 divided by 42 is 2 with a remainder of 34.
Use 2 as the next digit of our solution. 
Result so far: 52.0
The remainder is 34 after subtracting 84 from 118.
Fetch the next digit (5) from the dividend, attach it to 34 and continue: 345 / 42

Going ahead to step 5:
When dividing 345 by 42, we get 8 with a remainder of 9.
The next digit of our result is 8. 
Result so far: 528.0
If we subtract 336 from 345, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 6:
42 goes into 90 2 times with a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 528.2
Subtract 84 from 90 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.

Moving on to step 7:
When dividing 60 by 42, we get 1 with a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 528.21
The remainder is 18 after subtracting 42 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 8:
180 divided by 42 is 4 with a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 528.214
If we subtract 168 from 180, we 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 9:
42 can be fit into 120 2 times, resulting in a remainder of 36.
The number 2 becomes the next digit in our result. 
Result so far: 528.2142
If we take 84 away from 120, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 10:
If we divide 360 by 42, we get 8 and a remainder of 24.
Write down 8 as next digit of the result. 
Result so far: 528.21428
If we subtract 336 from 360, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 11:
When dividing 240 by 42, we get 5 with a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 528.214285
If we subtract 210 from 240, we 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.

Advancing to step 12:
42 goes into 300 7 times with a remainder of 6.
The next digit of our result is 7. 
Result so far: 528.2142857
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 13:
The number 42 fits into 60 1 times, leaving a remainder of 18.
The next digit of our result is 1. 
Result so far: 528.21428571
Subtract 42 from 60 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

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