We look at the division of 161223 by 82 
Our goal is to divide 161223 by 82.

On to step 1:
When dividing 1 by 82, we get 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 82

Going ahead to step 2:
82 can be fit into 16 0 times, resulting in a remainder of 16.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 16 leaves us with 16.
Include the next digit (1) from the dividend after 16, then repeat: 161 / 82

Step 3:
The number 82 fits into 161 1 times, leaving a remainder of 79.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 82 from 161 to get 79.
Fetch the next digit (2) from the dividend, attach it to 79 and continue: 792 / 82

Advancing to step 4:
If we divide 792 by 82, we get 9 and a remainder of 54.
Use 9 as the next digit of our solution. 
Result so far: 19.0
Subtracting 738 from 792 leaves us with 54.
Fetch the next digit (2) from the dividend, attach it to 54 and continue: 542 / 82

Step 5:
The number 82 fits into 542 6 times, leaving a remainder of 50.
Record the quotient 6 as the next digit in the result. 
Result so far: 196.0
Deduct 492 from 542 and we're left with 50.
Take the next digit (3) from the dividend and append it to 50, then repeat: 503 / 82

Let's proceed to step 6:
503 divided by 82 is 6 with a remainder of 11.
Put 6 as the next digit of the answer. 
Result so far: 1966.0
If we take 492 away from 503, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 7:
The number 82 fits into 110 1 times, leaving a remainder of 28.
Put 1 as the next digit of the answer. 
Result so far: 1966.1
If we subtract 82 from 110, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 8:
82 goes into 280 3 times with a remainder of 34.
The next digit of our result is 3. 
Result so far: 1966.13
Subtracting 246 from 280 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 9:
If we divide 340 by 82, we get 4 and a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 1966.134
Subtract 328 from 340 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 10:
82 goes into 120 1 times with a remainder of 38.
The next digit of our result is 1. 
Result so far: 1966.1341
If we subtract 82 from 120, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Let's proceed to step 11:
The number 82 fits into 380 4 times, leaving a remainder of 52.
Record the quotient 4 as the next digit in the result. 
Result so far: 1966.13414
If we subtract 328 from 380, we get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Moving on to step 12:
520 divided by 82 is 6 with a remainder of 28.
The number 6 becomes the next digit in our result. 
Result so far: 1966.134146
Deduct 492 from 520 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 13:
280 divided by 82 is 3 with a remainder of 34.
Write down 3 as next digit of the result. 
Result so far: 1966.1341463
The remainder is 34 after subtracting 246 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 14:
340 divided by 82 is 4 with a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 1966.13414634
Subtracting 328 from 340 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The final outcome is 1966.13414634, with a leftover of 1.2e-08.