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.

A350363 Primes whose reversal is a ninth power.

This page as a plain text file.
%I A350363 #23 Nov 27 2024 13:42:30
%S A350363 23888027348153,17571893445665616311,3627487775963728773631,
%T A350363 5213075488148035940813,232364835105859429802371,
%U A350363 1648344985192619771689693,6522990445513252220198849,6771520922071318266744521,23295376285906990980268061,29758574646480445207299379
%N A350363 Primes whose reversal is a ninth power.
%H A350363 Harvey P. Dale, <a href="/A350363/b350363.txt">Table of n, a(n) for n = 1..1000</a>
%t A350363 Union[(i=IntegerReverse)@Select[Range@1000^9,PrimeQ@i@#&]] (* _Giorgos Kalogeropoulos_, Jan 04 2022 *)
%t A350363 Select[IntegerReverse/@(Range[1000]^9),PrimeQ]//Union (* _Harvey P. Dale_, Nov 27 2024 *)
%o A350363 (PARI) flip(n)=fromdigits(Vecrev(digits(n))) \\ A004086
%o A350363 Set(select(isprime, vector(1000, n, flip(n^9)))) \\ adapted from A057699
%o A350363 (Python)
%o A350363 from sympy import isprime
%o A350363 flip9 = (int(str(k**9)[::-1]) for k in range(1, 1000) if k%10)
%o A350363 print(sorted(filter(isprime, flip9))) # _Michael S. Branicky_, Jan 02 2022
%Y A350363 Cf. A002239, A004086, A059210.
%Y A350363 Primes whose reversal is a k-th power: A007488 (k=2), A057699 (k=3), A058996 (k=4), A059000 (k=5), A059001 (k=6), A059002 (k=7), A059003 (k=8), A059005 (k=10).
%K A350363 nonn,base
%O A350363 1,1
%A A350363 _Mohammed Yaseen_, Dec 27 2021