A182313 Primes of form a^2+b^2 such that a^4+b^4 and a^8+b^8 are primes.
2, 5, 17, 1277, 2129, 3413, 4157, 4637, 7481, 7573, 7717, 14561, 15233, 19469, 19889, 20549, 20693, 20749, 22721, 23609, 23869, 24841, 27701, 29629, 31153, 35869, 41081, 42209, 42577, 44417, 45233, 46061, 51613, 51713, 52069, 53197, 54493, 55589, 55921, 56489
Offset: 1
Keywords
Links
- Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
Crossrefs
Subsequence of A182198.
Programs
-
PARI
list(lim)=my(v=List([2]),t);for(a=1,sqrt(lim),forstep(b=1+a%2, min(a,sqrt(lim-a^2)), 2, if(isprime(t=a^2+b^2) && isprime(a^4+b^4) && isprime(a^8+b^8), listput(v,t)))); vecsort(Vec(v)) \\ Charles R Greathouse IV, Apr 24 2012
Extensions
a(4)-a(40) from Charles R Greathouse IV, Apr 24 2012