OFFSET
1,1
EXAMPLE
a(1) = 1007 because 1007 is composite, the five permutations 17, 71, 107, 701, and 7001 are all prime, and no other permutation of 1007 is prime.
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Gil Broussard, Jul 30 2009
EXTENSIONS
Checked by Zak Seidov, Jul 01 2009
STATUS
approved