We're dividing 331771 by 82 
We want to figure out the number of times 331771 can be divided by 82.

Advancing to step 1:
82 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 82

Moving on to step 2:
33 divided by 82 is 0 with a remainder of 33.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 33 and we're left with 33.
Fetch the next digit (1) from the dividend, attach it to 33 and continue: 331 / 82

Step 3:
If we divide 331 by 82, we get 4 and a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 4.0
The remainder is 3 after subtracting 328 from 331.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 82

On to step 4:
When dividing 37 by 82, we get 0 with a remainder of 37.
Record the quotient 0 as the next digit in the result. 
Result so far: 40.0
If we subtract 0 from 37, we get 37.
Fetch the next digit (7) from the dividend, attach it to 37 and continue: 377 / 82

On to step 5:
When dividing 377 by 82, we get 4 with a remainder of 49.
The next digit of our result is 4. 
Result so far: 404.0
If we subtract 328 from 377, we get 49.
Take the next digit (1) from the dividend and append it to 49, then repeat: 491 / 82

Step 6:
82 can be fit into 491 5 times, resulting in a remainder of 81.
Use 5 as the next digit of our solution. 
Result so far: 4045.0
If we subtract 410 from 491, we get 81.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

Step 7:
82 can be fit into 810 9 times, resulting in a remainder of 72.
The number 9 becomes the next digit in our result. 
Result so far: 4045.9
If we subtract 738 from 810, we 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.

Moving on to step 8:
When dividing 720 by 82, we get 8 with a remainder of 64.
Record the quotient 8 as the next digit in the result. 
Result so far: 4045.98
The remainder is 64 after subtracting 656 from 720.
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 9:
When dividing 640 by 82, we get 7 with a remainder of 66.
The next digit of our result is 7. 
Result so far: 4045.987
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 10:
82 goes into 660 8 times with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 4045.9878
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.

Let's proceed to step 11:
When dividing 40 by 82, we get 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 4045.9878
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 12:
82 can be fit into 400 4 times, resulting in a remainder of 72.
Put 4 as the next digit of the answer. 
Result so far: 4045.987804
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.

Going ahead to step 13:
720 divided by 82 is 8 with a remainder of 64.
Use 8 as the next digit of our solution. 
Result so far: 4045.9878048
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 14:
The number 82 fits into 640 7 times, leaving a remainder of 66.
The next digit of our result is 7. 
Result so far: 4045.98780487
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.

The quotient of the division is 4045.98780487, and the remainder is 6.6e-08.