aboutsummaryrefslogtreecommitdiff
path: root/challenge-012/duncan-c-white/C/primes.pl
blob: 6e8ffe9fd4c1e6abd4f73d7bdc2c8b1d0c175f1b (plain)
1
2
3
4
5
6
7
8
9
# array of all primes <= 100 (nb: 1 is not a prime)

my @prime = (
	2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 
	31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 
	73, 79, 83, 89, 97, 
);

my $NPRIMES = 25;