We divide 164040 by 42
We want to divide 164040 by 42.

Moving on to step 1:
If we divide 1 by 42, we get 0 and 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.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 42

Advancing to step 2:
The number 42 fits into 16 0 times, leaving a remainder of 16.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 16 and we're left with 16.
Append the next digit (4) from the dividend to 16 and continue with: 164 / 42

Going ahead to step 3:
The number 42 fits into 164 3 times, leaving a remainder of 38.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtracting 126 from 164 leaves us with 38.
Include the next digit (0) from the dividend after 38, then repeat: 380 / 42

Advancing to step 4:
If we divide 380 by 42, we get 9 and a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 39.0
If we take 378 away from 380, we end up with 2.
Include the next digit (4) from the dividend after 2, then repeat: 24 / 42

Moving on to step 5:
If we divide 24 by 42, we get 0 and a remainder of 24.
Put 0 as the next digit of the answer. 
Result so far: 390.0
If we take 0 away from 24, we end up with 24.
Grab the next digit (0) from the dividend, add it to 24, then carry on: 240 / 42

Let's proceed to step 6:
42 can be fit into 240 5 times, resulting in a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 3905.0
Subtract 210 from 240 to 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.

Let's proceed to step 7:
300 divided by 42 is 7 with a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 3905.7
Subtract 294 from 300 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.

Let's proceed to step 8:
42 can be fit into 60 1 times, resulting in a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 3905.71
Subtracting 42 from 60 leaves us 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.

Advancing to step 9:
When dividing 180 by 42, we get 4 with a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 3905.714
The remainder is 12 after subtracting 168 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 10:
120 divided by 42 is 2 with a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 3905.7142
Deduct 84 from 120 and we're left 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.

On to step 11:
42 can be fit into 360 8 times, resulting in a remainder of 24.
Use 8 as the next digit of our solution. 
Result so far: 3905.71428
The remainder is 24 after subtracting 336 from 360.
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:
240 divided by 42 is 5 with a remainder of 30.
Write down 5 as next digit of the result. 
Result so far: 3905.714285
Subtract 210 from 240 to 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 13:
300 divided by 42 is 7 with a remainder of 6.
The next digit of our result is 7. 
Result so far: 3905.7142857
Subtracting 294 from 300 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.

Going ahead to step 14:
When dividing 60 by 42, we get 1 with a remainder of 18.
The next digit of our result is 1. 
Result so far: 3905.71428571
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.

Our division results in 3905.71428571 with a remaining 1.8e-08.