login
Primes p such that p^5 reversed is also prime.
1

%I #11 Sep 08 2022 08:45:03

%S 2,41,43,113,127,179,263,269,379,443,983,1009,1283,1511,1693,1723,

%T 2371,2389,2711,2833,2861,3739,4027,4111,4211,4219,4241,4259,4271,

%U 4297,4447,5077,5119,5903,6221,6229,6269,6277,6299,6337,6397,6449,6679,6761,6793

%N Primes p such that p^5 reversed is also prime.

%H Vincenzo Librandi, <a href="/A059698/b059698.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[ Range[ 8000 ], PrimeQ[ # ] && PrimeQ[ ToExpression[ StringReverse[ ToString[ #^5 ] ] ] ] & ]

%o (Magma) [p: p in PrimesUpTo(7000) | IsPrime(Seqint(Reverse(Intseq(p^5))))]; // _Vincenzo Librandi_, Apr 12 2013

%Y Cf. A059206.

%K nonn,base

%O 1,1

%A _Robert G. Wilson v_, Feb 06 2001