We're dividing 506221 by 82 
We want to divide 506221 by 82.

Going ahead to step 1:
If we divide 5 by 82, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 82

Step 2:
The number 82 fits into 50 0 times, leaving a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 50 to get 50.
Take the next digit (6) from the dividend and append it to 50, then repeat: 506 / 82

Let's proceed to step 3:
506 divided by 82 is 6 with a remainder of 14.
Use 6 as the next digit of our solution. 
Result so far: 6.0
If we subtract 492 from 506, we get 14.
Grab the next digit (2) from the dividend, add it to 14, then carry on: 142 / 82

Let's proceed to step 4:
142 divided by 82 is 1 with a remainder of 60.
The next digit of our result is 1. 
Result so far: 61.0
If we subtract 82 from 142, we get 60.
Include the next digit (2) from the dividend after 60, then repeat: 602 / 82

Let's proceed to step 5:
When dividing 602 by 82, we get 7 with a remainder of 28.
Put 7 as the next digit of the answer. 
Result so far: 617.0
If we take 574 away from 602, we end up with 28.
Fetch the next digit (1) from the dividend, attach it to 28 and continue: 281 / 82

Going ahead to step 6:
82 goes into 281 3 times with a remainder of 35.
Use 3 as the next digit of our solution. 
Result so far: 6173.0
If we subtract 246 from 281, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 7:
The number 82 fits into 350 4 times, leaving a remainder of 22.
Write down 4 as next digit of the result. 
Result so far: 6173.4
The remainder is 22 after subtracting 328 from 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 8:
82 goes into 220 2 times with a remainder of 56.
Use 2 as the next digit of our solution. 
Result so far: 6173.42
Subtracting 164 from 220 leaves us with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Advancing to step 9:
82 goes into 560 6 times with a remainder of 68.
The next digit of our result is 6. 
Result so far: 6173.426
If we subtract 492 from 560, we get 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Going ahead to step 10:
If we divide 680 by 82, we get 8 and a remainder of 24.
Use 8 as the next digit of our solution. 
Result so far: 6173.4268
If we subtract 656 from 680, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 11:
240 divided by 82 is 2 with a remainder of 76.
The next digit of our result is 2. 
Result so far: 6173.42682
If we subtract 164 from 240, we get 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Advancing to step 12:
When dividing 760 by 82, we get 9 with a remainder of 22.
Put 9 as the next digit of the answer. 
Result so far: 6173.426829
Subtracting 738 from 760 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 13:
When dividing 220 by 82, we get 2 with a remainder of 56.
Use 2 as the next digit of our solution. 
Result so far: 6173.4268292
Subtracting 164 from 220 leaves us with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 14:
The number 82 fits into 560 6 times, leaving a remainder of 68.
Use 6 as the next digit of our solution. 
Result so far: 6173.42682926
The remainder is 68 after subtracting 492 from 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

The final outcome is 6173.42682926, with a leftover of 6.8e-08.