A253912 Fourth powers whose reversal is a prime.
16, 38416, 130321, 160000, 923521, 1500625, 13845841, 14776336, 16777216, 38950081, 163047361, 181063936, 312900721, 322417936, 384160000, 937890625, 1303210000, 1600000000, 3722098081, 7992538801, 9235210000, 13841287201, 15006250000, 16610312161, 17748900625, 31414372081, 37141383841
Offset: 1
Examples
Example: a(1) = 16 is a fourth power because 16 = 2^4 and the reverse of 16 is 61 which is a prime number.
Links
- Chai Wah Wu, Table of n, a(n) for n = 1..25659
Crossrefs
Programs
-
Mathematica
Select[Range[440]^4, PrimeQ[FromDigits@ Reverse@ IntegerDigits@ #] &] (* Michael De Vlieger, Jan 19 2015 *)
-
Python
from sympy import isprime A253912_list = [n for n in (i**4 for i in range(10**6)) if isprime(int(str(n)[::-1]))] # Chai Wah Wu, Jun 02 2016
Comments