166707 divided by 42 
We want to divide 166707 by 42.

Advancing to step 1:
The number 42 fits into 1 0 times, leaving a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 42

Advancing to step 2:
If we divide 16 by 42, we get 0 and a remainder of 16.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 16, we get 16.
Fetch the next digit (6) from the dividend, attach it to 16 and continue: 166 / 42

Advancing to step 3:
42 goes into 166 3 times with a remainder of 40.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtract 126 from 166 to get 40.
Fetch the next digit (7) from the dividend, attach it to 40 and continue: 407 / 42

Moving on to step 4:
The number 42 fits into 407 9 times, leaving a remainder of 29.
Put 9 as the next digit of the answer. 
Result so far: 39.0
If we subtract 378 from 407, we get 29.
Include the next digit (0) from the dividend after 29, then repeat: 290 / 42

Going ahead to step 5:
290 divided by 42 is 6 with a remainder of 38.
The number 6 becomes the next digit in our result. 
Result so far: 396.0
If we take 252 away from 290, we end up with 38.
Take the next digit (7) from the dividend and append it to 38, then repeat: 387 / 42

Step 6:
387 divided by 42 is 9 with a remainder of 9.
Use 9 as the next digit of our solution. 
Result so far: 3969.0
If we subtract 378 from 387, 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.

Let's proceed to step 7:
When dividing 90 by 42, we get 2 with a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 3969.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.

On to step 8:
If we divide 60 by 42, we get 1 and a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 3969.21
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.

Moving on to step 9:
The number 42 fits into 180 4 times, leaving a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 3969.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.

Step 10:
The number 42 fits into 120 2 times, leaving a remainder of 36.
Put 2 as the next digit of the answer. 
Result so far: 3969.2142
The remainder is 36 after subtracting 84 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 11:
The number 42 fits into 360 8 times, leaving a remainder of 24.
The next digit of our result is 8. 
Result so far: 3969.21428
Deduct 336 from 360 and we're left with 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 12:
The number 42 fits into 240 5 times, leaving a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 3969.214285
If we take 210 away from 240, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 13:
42 can be fit into 300 7 times, resulting in a remainder of 6.
Record the quotient 7 as the next digit in the result. 
Result so far: 3969.2142857
If we take 294 away from 300, we end up 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.

Step 14:
If we divide 60 by 42, we get 1 and a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 3969.21428571
If we take 42 away from 60, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The quotient of the division is 3969.21428571, and the remainder is 1.8e-08.