Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    my $terms = shift || 4;
    
    forpart { print "@_\n" if @_ == uniq @_ } $sum,{n=>$terms};
    
  2. or download this
    use warnings;
    use strict;
    ...
        print "@_\n" if @_ == uniq @_
      } $sum, {n=>$terms, amax=>$amax};
    }