What is the least number of links you can cut in a chain of 21 links to be able to give someone all possible number of links up to 21?

Chain Solution

lib/config.php:156: Notice: Undefined variable: accept

lib/DbaDatabase.php:134: Warning: dba_replace() [<a href='function.dba-replace'>function.dba-replace</a>]: You cannot perform a modification to a database without proper access