We look at the division of 20522967 by 797 
We're looking to find how many times 797 goes into 20522967.

Advancing to step 1:
When dividing 2 by 797, we get 0 with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 797

Step 2:
797 can be fit into 20 0 times, resulting in a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 20 and we're left with 20.
Grab the next digit (5) from the dividend, add it to 20, then carry on: 205 / 797

Step 3:
When dividing 205 by 797, we get 0 with a remainder of 205.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 205 after subtracting 0 from 205.
Include the next digit (2) from the dividend after 205, then repeat: 2052 / 797

Let's proceed to step 4:
2052 divided by 797 is 2 with a remainder of 458.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we take 1594 away from 2052, we end up with 458.
Bring next digit (2) of the dividend behind the 458 and repeat the process: 4582 / 797

Moving on to step 5:
When dividing 4582 by 797, we get 5 with a remainder of 597.
Use 5 as the next digit of our solution. 
Result so far: 25.0
If we take 3985 away from 4582, we end up with 597.
Include the next digit (9) from the dividend after 597, then repeat: 5979 / 797

Going ahead to step 6:
When dividing 5979 by 797, we get 7 with a remainder of 400.
The next digit of our result is 7. 
Result so far: 257.0
If we take 5579 away from 5979, we end up with 400.
Take the next digit (6) from the dividend and append it to 400, then repeat: 4006 / 797

Moving on to step 7:
When dividing 4006 by 797, we get 5 with a remainder of 21.
Put 5 as the next digit of the answer. 
Result so far: 2575.0
Subtracting 3985 from 4006 leaves us with 21.
Bring next digit (7) of the dividend behind the 21 and repeat the process: 217 / 797

Advancing to step 8:
If we divide 217 by 797, we get 0 and a remainder of 217.
Use 0 as the next digit of our solution. 
Result so far: 25750.0
Deduct 0 from 217 and we're left with 217.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2170, and continue the process.

Advancing to step 9:
The number 797 fits into 2170 2 times, leaving a remainder of 576.
Write down 2 as next digit of the result. 
Result so far: 25750.2
If we take 1594 away from 2170, we end up with 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 10:
The number 797 fits into 5760 7 times, leaving a remainder of 181.
Use 7 as the next digit of our solution. 
Result so far: 25750.27
Subtract 5579 from 5760 to get 181.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1810, and continue the process.

Advancing to step 11:
When dividing 1810 by 797, we get 2 with a remainder of 216.
Put 2 as the next digit of the answer. 
Result so far: 25750.272
If we take 1594 away from 1810, we end up with 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Advancing to step 12:
If we divide 2160 by 797, we get 2 and a remainder of 566.
Record the quotient 2 as the next digit in the result. 
Result so far: 25750.2722
Subtracting 1594 from 2160 leaves us with 566.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5660, and continue the process.

The final outcome is 25750.2722, with a leftover of 0.00566.