We're dividing 162266 by 12 
The aim is to understand the frequency of 12 in 162266.

Step 1:
12 goes into 1 0 times with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 12

Step 2:
If we divide 16 by 12, we get 1 and a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 12 from 16 to get 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 12

On to step 3:
When dividing 42 by 12, we get 3 with a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
If we take 36 away from 42, we end up with 6.
Append the next digit (2) from the dividend to 6 and continue with: 62 / 12

Moving on to step 4:
If we divide 62 by 12, we get 5 and a remainder of 2.
The next digit of our result is 5. 
Result so far: 135.0
Subtracting 60 from 62 leaves us with 2.
Bring next digit (6) of the dividend behind the 2 and repeat the process: 26 / 12

Advancing to step 5:
The number 12 fits into 26 2 times, leaving a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 1352.0
If we take 24 away from 26, we end up with 2.
Fetch the next digit (6) from the dividend, attach it to 2 and continue: 26 / 12

Let's proceed to step 6:
26 divided by 12 is 2 with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 13522.0
Subtract 24 from 26 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 7:
When dividing 20 by 12, we get 1 with a remainder of 8.
Put 1 as the next digit of the answer. 
Result so far: 13522.1
Deduct 12 from 20 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.

On to step 8:
The number 12 fits into 80 6 times, leaving a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 13522.16
Subtract 72 from 80 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 9:
When dividing 80 by 12, we get 6 with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 13522.166
Subtract 72 from 80 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Our division results in 13522.166 with a remaining 0.0008.