We look at the division of 165171 by 12 
We're looking to find how many times 12 goes into 165171.

Going ahead to step 1:
When dividing 1 by 12, we get 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 12

Advancing to step 2:
When dividing 16 by 12, we get 1 with a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 4 after subtracting 12 from 16.
Fetch the next digit (5) from the dividend, attach it to 4 and continue: 45 / 12

On to step 3:
45 divided by 12 is 3 with a remainder of 9.
Write down 3 as next digit of the result. 
Result so far: 13.0
If we subtract 36 from 45, we get 9.
Fetch the next digit (1) from the dividend, attach it to 9 and continue: 91 / 12

Step 4:
If we divide 91 by 12, we get 7 and a remainder of 7.
The number 7 becomes the next digit in our result. 
Result so far: 137.0
The remainder is 7 after subtracting 84 from 91.
Take the next digit (7) from the dividend and append it to 7, then repeat: 77 / 12

Step 5:
77 divided by 12 is 6 with a remainder of 5.
Use 6 as the next digit of our solution. 
Result so far: 1376.0
Subtracting 72 from 77 leaves us with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 12

Moving on to step 6:
51 divided by 12 is 4 with a remainder of 3.
Put 4 as the next digit of the answer. 
Result so far: 13764.0
Subtracting 48 from 51 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 7:
When dividing 30 by 12, we get 2 with a remainder of 6.
The next digit of our result is 2. 
Result so far: 13764.2
Subtracting 24 from 30 leaves us with 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 8:
If we divide 60 by 12, we get 5 and a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 13764.25
The remainder is 0 after subtracting 60 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
The number 12 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 13764.25
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 10:
If we divide 0 by 12, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 13764.25
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 13764.25 with a remaining 0.0.