Help for this page

Select Code to Download


  1. or download this
    perl -le '(1 x $_++) =~ /^(1(??{1x$-[1]}))*$/ && print while 1'
    
  2. or download this
    perl -le 'print "Fibonacci" if (1x(-1+pop)) =~ /^(1(??{1x$-[1]}))*$/' 
    +<NUMBER>