Help for this page

Select Code to Download


  1. or download this
    my $possibilities = 2 ** $N; # $N is number of dimensions
    
  2. or download this
    my $possibilities = (3 ** $N) - 1;