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

Let's proceed to step 1:
When dividing 1 by 42, we get 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 42

Let's proceed to step 2:
42 goes into 16 0 times with a remainder of 16.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 16 after subtracting 0 from 16.
Grab the next digit (5) from the dividend, add it to 16, then carry on: 165 / 42

Moving on to step 3:
165 divided by 42 is 3 with a remainder of 39.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtracting 126 from 165 leaves us with 39.
Grab the next digit (0) from the dividend, add it to 39, then carry on: 390 / 42

Advancing to step 4:
When dividing 390 by 42, we get 9 with a remainder of 12.
Record the quotient 9 as the next digit in the result. 
Result so far: 39.0
Subtract 378 from 390 to get 12.
Take the next digit (7) from the dividend and append it to 12, then repeat: 127 / 42

On to step 5:
42 goes into 127 3 times with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 393.0
If we subtract 126 from 127, we get 1.
Bring next digit (1) of the dividend behind the 1 and repeat the process: 11 / 42

Let's proceed to step 6:
42 can be fit into 11 0 times, resulting in a remainder of 11.
Put 0 as the next digit of the answer. 
Result so far: 3930.0
Deduct 0 from 11 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 7:
If we divide 110 by 42, we get 2 and a remainder of 26.
Write down 2 as next digit of the result. 
Result so far: 3930.2
If we subtract 84 from 110, 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.

Advancing to step 8:
42 goes into 260 6 times with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 3930.26
Subtract 252 from 260 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.

Advancing to step 9:
80 divided by 42 is 1 with a remainder of 38.
Write down 1 as next digit of the result. 
Result so far: 3930.261
Subtract 42 from 80 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 10:
When dividing 380 by 42, we get 9 with a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 3930.2619
Deduct 378 from 380 and we're left 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.

Moving on to step 11:
When dividing 20 by 42, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 3930.2619
Subtract 0 from 20 to 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.

Advancing to step 12:
42 can be fit into 200 4 times, resulting in a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 3930.261904
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 13:
42 goes into 320 7 times with a remainder of 26.
Use 7 as the next digit of our solution. 
Result so far: 3930.2619047
The remainder is 26 after subtracting 294 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 14:
If we divide 260 by 42, we get 6 and a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 3930.26190476
If we take 252 away from 260, we end up 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.

After the division, we end up with 3930.26190476 and a remainder of 8e-09.