Help for this page

Select Code to Download


  1. or download this
    sub isPrime {
      ('1' x $_[0]) !~ /^(11+)\1+$/;
    }