|
|
A058996
|
|
Primes whose reversal is a fourth power.
|
|
5
|
|
|
61, 61483, 123031, 125329, 5260051, 14854831, 18005983, 61277761, 63367741, 127009213, 163740361, 526098739, 639360181, 639714223, 1088352997, 1808902273, 10007631583, 10278214831, 14838314173, 16121301661
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
Do[ If[ PrimeQ[ n ] && IntegerQ[ ToExpression[ StringReverse[ ToString[ n ] ] ]^(1/4) ], Print[ n ] ], {n, 1, 10^12} ]
|
|
PROG
|
(Python)
from sympy import isprime
for i in range(10**6):
if i % 10:
p = int(str(i**4)[::-1])
if isprime(p):
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|