16791 ÷ 22 
We want to figure out the number of times 16791 can be divided by 22.

Step 1:
22 can be fit into 1 0 times, resulting in a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 22

Let's proceed to step 2:
When dividing 16 by 22, we get 0 with a remainder of 16.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 16 after subtracting 0 from 16.
Take the next digit (7) from the dividend and append it to 16, then repeat: 167 / 22

Advancing to step 3:
The number 22 fits into 167 7 times, leaving a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 7.0
If we subtract 154 from 167, we get 13.
Append the next digit (9) from the dividend to 13 and continue with: 139 / 22

Going ahead to step 4:
139 divided by 22 is 6 with a remainder of 7.
Record the quotient 6 as the next digit in the result. 
Result so far: 76.0
Subtracting 132 from 139 leaves us with 7.
Fetch the next digit (1) from the dividend, attach it to 7 and continue: 71 / 22

Going ahead to step 5:
If we divide 71 by 22, we get 3 and a remainder of 5.
Use 3 as the next digit of our solution. 
Result so far: 763.0
Subtract 66 from 71 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 6:
When dividing 50 by 22, we get 2 with a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 763.2
If we subtract 44 from 50, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 7:
When dividing 60 by 22, we get 2 with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 763.22
If we take 44 away from 60, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The final result is 763.22 with a remainder of 0.016.