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.

A059705 Primes p such that p^12 reversed is also prime.

This page as a plain text file.
%I A059705 #10 Sep 08 2022 08:45:03
%S A059705 7,59,223,907,1021,1109,1231,2237,2383,2417,3929,4201,4297,4783,5107,
%T A059705 5171,5507,5647,7213,8539,8597,9067,9133,9181,9187,9221,9739,9749,
%U A059705 10037,10979,11087,11159,12113,12143,12401,12479,12547,12703,12821
%N A059705 Primes p such that p^12 reversed is also prime.
%H A059705 Vincenzo Librandi, <a href="/A059705/b059705.txt">Table of n, a(n) for n = 1..1000</a>
%t A059705 Select[ Range[ 16000 ], PrimeQ[ # ] && PrimeQ[ ToExpression[ StringReverse[ ToString[ #^12 ]] ]] & ]
%t A059705 Select[Prime[Range[2000]],PrimeQ[IntegerReverse[#^12]]&] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, Aug 29 2017 *)
%o A059705 (Magma) [p: p in PrimesUpTo(15000)|IsPrime(Seqint(Reverse(Intseq(p^12))))]; // _Vincenzo Librandi_, Apr 13 2013
%Y A059705 Cf. A059213.
%K A059705 base,nonn
%O A059705 1,1
%A A059705 _Robert G. Wilson v_, Feb 06 2001