40082 divided by 42 
We want to figure out the number of times 40082 can be divided by 42.

Advancing to step 1:
42 goes into 4 0 times with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 42

Let's proceed to step 2:
When dividing 40 by 42, we get 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Bring next digit (0) of the dividend behind the 40 and repeat the process: 400 / 42

Advancing to step 3:
42 goes into 400 9 times with a remainder of 22.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
If we take 378 away from 400, we end up with 22.
Bring next digit (8) of the dividend behind the 22 and repeat the process: 228 / 42

Moving on to step 4:
When dividing 228 by 42, we get 5 with a remainder of 18.
Put 5 as the next digit of the answer. 
Result so far: 95.0
Subtracting 210 from 228 leaves us with 18.
Append the next digit (2) from the dividend to 18 and continue with: 182 / 42

On to step 5:
42 can be fit into 182 4 times, resulting in a remainder of 14.
Put 4 as the next digit of the answer. 
Result so far: 954.0
Deduct 168 from 182 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 6:
140 divided by 42 is 3 with a remainder of 14.
Put 3 as the next digit of the answer. 
Result so far: 954.3
Subtract 126 from 140 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 7:
42 goes into 140 3 times with a remainder of 14.
The next digit of our result is 3. 
Result so far: 954.33
If we subtract 126 from 140, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final outcome is 954.33, with a leftover of 0.014.