OFFSET
1,1
EXAMPLE
a(1) = 1094 because 1094 is composite, the nine permutations 149, 419, 491, 941, 1049, 1409, 4019, 4091, and 9041 are all prime, and no other permutation of 1094 is prime.
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Gil Broussard, Jul 30 2009
STATUS
approved