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”).

A085300
a(n) is the least prime x such that when reversed it is a power of prime(n).
3
2, 3, 5, 7, 11, 31, 71, 163, 18258901387, 90367894271, 13, 73, 1861, 344800741, 34351783286302805384336021, 940315563074788471, 1886172359328147919771, 14854831
OFFSET
1,1
COMMENTS
A006567 (after rearranging terms) and A002385 are subsequences. - Chai Wah Wu, Jun 02 2016
LINKS
EXAMPLE
a(14)=344800741 means that 147008443=43^5=p(14)^5, where 5 is the smallest such exponent;
a(19) has 82 decimal digits and if reversed equals 39th power of p(19)=67.
PROG
(Python)
from sympy import prime, isprime
def A085300(n):
p = prime(n)
q = p
while True:
m = int(str(q)[::-1])
if isprime(m):
return(m)
q *= p # Chai Wah Wu, Jun 02 2016
KEYWORD
base,nonn
AUTHOR
Labos Elemer, Jun 24 2003
STATUS
approved