OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
37 is in this sequence because 37 is prime and 6^2+1^6 = 37.
16921 is in this sequence because 16921 is prime and 6^4+5^6 = 16921.
MAPLE
N:= 10^12: # for all terms <= N
S:= {}:
for y from 1 while y^6 < N do
for x from 1 do
v:= 6^x + y^6;
if v > N then break fi;
if isprime(v) then
S:= S union {v};
fi
od od:
sort(convert(S, list)); # Robert Israel, Nov 11 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Dec 01 2014
EXTENSIONS
Missing terms inserted by Robert Israel, Nov 11 2019
STATUS
approved