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

Moving on to step 1:
797 can be fit into 1 0 times, resulting in a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 797

Moving on to step 2:
When dividing 16 by 797, we get 0 with a remainder of 16.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 16 to get 16.
Include the next digit (7) from the dividend after 16, then repeat: 167 / 797

Moving on to step 3:
If we divide 167 by 797, we get 0 and a remainder of 167.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 167, we get 167.
Include the next digit (7) from the dividend after 167, then repeat: 1677 / 797

On to step 4:
If we divide 1677 by 797, we get 2 and a remainder of 83.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 1594 from 1677 leaves us with 83.
Include the next digit (1) from the dividend after 83, then repeat: 831 / 797

Going ahead to step 5:
If we divide 831 by 797, we get 1 and a remainder of 34.
Write down 1 as next digit of the result. 
Result so far: 21.0
Deduct 797 from 831 and we're left with 34.
Fetch the next digit (3) from the dividend, attach it to 34 and continue: 343 / 797

On to step 6:
When dividing 343 by 797, we get 0 with a remainder of 343.
The number 0 becomes the next digit in our result. 
Result so far: 210.0
Subtracting 0 from 343 leaves us with 343.
Fetch the next digit (8) from the dividend, attach it to 343 and continue: 3438 / 797

Step 7:
797 goes into 3438 4 times with a remainder of 250.
Put 4 as the next digit of the answer. 
Result so far: 2104.0
Subtract 3188 from 3438 to get 250.
Include the next digit (2) from the dividend after 250, then repeat: 2502 / 797

Step 8:
When dividing 2502 by 797, we get 3 with a remainder of 111.
The next digit of our result is 3. 
Result so far: 21043.0
Subtracting 2391 from 2502 leaves us with 111.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1110, and continue the process.

Advancing to step 9:
797 can be fit into 1110 1 times, resulting in a remainder of 313.
Record the quotient 1 as the next digit in the result. 
Result so far: 21043.1
If we subtract 797 from 1110, we get 313.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3130, and continue the process.

Going ahead to step 10:
797 can be fit into 3130 3 times, resulting in a remainder of 739.
The number 3 becomes the next digit in our result. 
Result so far: 21043.13
If we subtract 2391 from 3130, we get 739.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7390, and continue the process.

Step 11:
The number 797 fits into 7390 9 times, leaving a remainder of 217.
Use 9 as the next digit of our solution. 
Result so far: 21043.139
Subtract 7173 from 7390 to get 217.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2170, and continue the process.

On to step 12:
797 goes into 2170 2 times with a remainder of 576.
Record the quotient 2 as the next digit in the result. 
Result so far: 21043.1392
If we subtract 1594 from 2170, we get 576.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5760, and continue the process.

Step 13:
797 goes into 5760 7 times with a remainder of 181.
Record the quotient 7 as the next digit in the result. 
Result so far: 21043.13927
Subtracting 5579 from 5760 leaves us with 181.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1810, and continue the process.

On to step 14:
When dividing 1810 by 797, we get 2 with a remainder of 216.
Use 2 as the next digit of our solution. 
Result so far: 21043.139272
The remainder is 216 after subtracting 1594 from 1810.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Step 15:
When dividing 2160 by 797, we get 2 with a remainder of 566.
Record the quotient 2 as the next digit in the result. 
Result so far: 21043.1392722
The remainder is 566 after subtracting 1594 from 2160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5660, and continue the process.

In conclusion, the division gives 21043.1392722 with a balance of 5.66e-06.