335165 divided by 82 
Let's see how many times 82 fits into 335165.

On to step 1:
The number 82 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (3) from the dividend after 3, then repeat: 33 / 82

Step 2:
The number 82 fits into 33 0 times, leaving a remainder of 33.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 33 and we're left with 33.
Append the next digit (5) from the dividend to 33 and continue with: 335 / 82

Let's proceed to step 3:
The number 82 fits into 335 4 times, leaving a remainder of 7.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtracting 328 from 335 leaves us with 7.
Bring next digit (1) of the dividend behind the 7 and repeat the process: 71 / 82

Let's proceed to step 4:
If we divide 71 by 82, we get 0 and a remainder of 71.
Write down 0 as next digit of the result. 
Result so far: 40.0
Deduct 0 from 71 and we're left with 71.
Grab the next digit (6) from the dividend, add it to 71, then carry on: 716 / 82

Moving on to step 5:
If we divide 716 by 82, we get 8 and a remainder of 60.
Put 8 as the next digit of the answer. 
Result so far: 408.0
Subtracting 656 from 716 leaves us with 60.
Take the next digit (5) from the dividend and append it to 60, then repeat: 605 / 82

Step 6:
82 goes into 605 7 times with a remainder of 31.
The number 7 becomes the next digit in our result. 
Result so far: 4087.0
Deduct 574 from 605 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Let's proceed to step 7:
When dividing 310 by 82, we get 3 with a remainder of 64.
The number 3 becomes the next digit in our result. 
Result so far: 4087.3
If we subtract 246 from 310, we 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.

Moving on to step 8:
82 goes into 640 7 times with a remainder of 66.
Put 7 as the next digit of the answer. 
Result so far: 4087.37
If we take 574 away from 640, we end up 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 9:
660 divided by 82 is 8 with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 4087.378
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 10:
82 can be fit into 40 0 times, resulting in a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 4087.378
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 11:
400 divided by 82 is 4 with a remainder of 72.
Write down 4 as next digit of the result. 
Result so far: 4087.37804
If we subtract 328 from 400, 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.

On to step 12:
82 goes into 720 8 times with a remainder of 64.
Write down 8 as next digit of the result. 
Result so far: 4087.378048
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 13:
640 divided by 82 is 7 with a remainder of 66.
Put 7 as the next digit of the answer. 
Result so far: 4087.3780487
If we take 574 away from 640, we end up 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.

Going ahead to step 14:
82 can be fit into 660 8 times, resulting in a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 4087.37804878
Deduct 656 from 660 and we're left 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.

In conclusion, the division gives 4087.37804878 with a balance of 4e-09.