login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A069868
Smallest n-th power whose digit reversal is a prime.
0
2, 16, 125, 16, 32, 16777216, 128, 16777216, 35184372088832, 1024, 34271896307633, 16777216, 1490116119384765625, 182059119829942534144, 35184372088832, 3876269050118516845397872321, 131072, 14551915228366851806640625, 1134787999706880954999833295916475119, 3584859224085422343574104404449462890625
OFFSET
1,1
PROG
(Python)
from sympy import isprime
def a(n):
k = 1
while not isprime(int(str(k**n)[::-1])): k += 1
return k**n
print([a(n) for n in range(1, 21)]) # Michael S. Branicky, Feb 16 2021
CROSSREFS
Sequence in context: A301947 A027309 A241466 * A338186 A208073 A022027
KEYWORD
nonn,base
AUTHOR
Amarnath Murthy, Apr 21 2002
EXTENSIONS
More terms from Jason Earls, Jun 03 2002
STATUS
approved