cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A085300 a(n) is the least prime x such that when reversed it is a power of prime(n).

This page as a plain text file.
%I A085300 #9 Jun 03 2016 02:41:18
%S A085300 2,3,5,7,11,31,71,163,18258901387,90367894271,13,73,1861,344800741,
%T A085300 34351783286302805384336021,940315563074788471,1886172359328147919771,
%U A085300 14854831
%N A085300 a(n) is the least prime x such that when reversed it is a power of prime(n).
%C A085300 A006567 (after rearranging terms) and A002385 are subsequences. - _Chai Wah Wu_, Jun 02 2016
%H A085300 Chai Wah Wu, <a href="/A085300/b085300.txt">Table of n, a(n) for n = 1..86</a>
%e A085300 a(14)=344800741 means that 147008443=43^5=p(14)^5, where 5 is the smallest such exponent;
%e A085300 a(19) has 82 decimal digits and if reversed equals 39th power of p(19)=67.
%o A085300 (Python)
%o A085300 from sympy import prime, isprime
%o A085300 def A085300(n):
%o A085300     p = prime(n)
%o A085300     q = p
%o A085300     while True:
%o A085300         m = int(str(q)[::-1])
%o A085300         if isprime(m):
%o A085300             return(m)
%o A085300         q *= p # _Chai Wah Wu_, Jun 02 2016
%Y A085300 Cf. A085298, A057708, A058993, A056994, A059695, A003459, A007500, A055387, A061461, A068652.
%K A085300 base,nonn
%O A085300 1,1
%A A085300 _Labos Elemer_, Jun 24 2003