Help for this page
Select Code to Download
Select
or
download this
sub is_prime { ('1' x shift) !~ /^(11+)\1+$/ }