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/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