Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 19 while ( $divisor > 1 ) {
- 20 if ( $current_candidate % $divisor == 0) { #
- 21 #print "$current_candidate mod $divisor is ";
- 22 #print $current_candidate % $divisor;
- 23 $isprime=1;
- 24 last ;
- 25 }
- 26 if ($isprime == 1) {
- 27 last;
- 28 }
- 29 $divisor = $divisor - 2;
- 30 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement