OFFSET
1,2
MATHEMATICA
Do[ If[ Mod[ n, 3 ] != 0 && Mod[ n, 10 ] != 0 && Mod[ n, 11 ] != 0, k = 2; While[ !PrimeQ[ ToExpression[ StringReverse[ ToString[ n^k ] ] ] ], k++ ]; Print[ k ], Print[ 0 ] ], {n, 2, 33} ]
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Jan 17 2001
STATUS
approved