OFFSET
1,2
COMMENTS
Terms from Robert G. Wilson v.
EXAMPLE
a(2) = 2 as 12421 is a prime.
MATHEMATICA
Do[k = 0; While[a = Table[n^i, {i, 0, k}]; b = ToExpression[ StringJoin[ ToString /@ Join[a, Drop[ Reverse[a], 1]]]]; !PrimeQ[b], k++ ]; Print[b], {n, 2, 10} ] (* Robert G. Wilson v *)
CROSSREFS
KEYWORD
more,nonn,base
AUTHOR
Amarnath Murthy, Mar 24 2002
STATUS
approved