Let's divide 39842 by 82
We want to figure out the number of times 39842 can be divided by 82.

Advancing to step 1:
The number 82 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 82

Going ahead to step 2:
39 divided by 82 is 0 with a remainder of 39.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Include the next digit (8) from the dividend after 39, then repeat: 398 / 82

On to step 3:
82 can be fit into 398 4 times, resulting in a remainder of 70.
Use 4 as the next digit of our solution. 
Result so far: 4.0
The remainder is 70 after subtracting 328 from 398.
Append the next digit (4) from the dividend to 70 and continue with: 704 / 82

On to step 4:
704 divided by 82 is 8 with a remainder of 48.
The next digit of our result is 8. 
Result so far: 48.0
The remainder is 48 after subtracting 656 from 704.
Take the next digit (2) from the dividend and append it to 48, then repeat: 482 / 82

Advancing to step 5:
The number 82 fits into 482 5 times, leaving a remainder of 72.
Write down 5 as next digit of the result. 
Result so far: 485.0
Subtract 410 from 482 to get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Let's proceed to step 6:
82 can be fit into 720 8 times, resulting in a remainder of 64.
The number 8 becomes the next digit in our result. 
Result so far: 485.8
Subtracting 656 from 720 leaves us with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Going ahead to step 7:
When dividing 640 by 82, we get 7 with a remainder of 66.
Write down 7 as next digit of the result. 
Result so far: 485.87
Subtract 574 from 640 to get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Let's proceed to step 8:
660 divided by 82 is 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 485.878
If we take 656 away from 660, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
If we divide 40 by 82, we get 0 and a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 485.878
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 10:
82 goes into 400 4 times with a remainder of 72.
Put 4 as the next digit of the answer. 
Result so far: 485.87804
Subtracting 328 from 400 leaves us with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Advancing to step 11:
82 can be fit into 720 8 times, resulting in a remainder of 64.
Record the quotient 8 as the next digit in the result. 
Result so far: 485.878048
Subtract 656 from 720 to get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

On to step 12:
640 divided by 82 is 7 with a remainder of 66.
The number 7 becomes the next digit in our result. 
Result so far: 485.8780487
Subtracting 574 from 640 leaves us with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Step 13:
When dividing 660 by 82, we get 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 485.87804878
Subtracting 656 from 660 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

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