login
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