A081508 Primes of form 1 + 3^k + 5^k.
3, 244672067, 14551915378461487103639747, 3552713678880267372432493847753987, 211758236813575107295480170109084902352995775163267
Offset: 1
Keywords
Links
- Amiram Eldar, Table of n, a(n) for n = 1..6
Programs
-
Mathematica
Do[s=1^w+3^w+5^w; If[IntegerQ[w/100], Print[{w}]]; If[PrimeQ[s], Print[{w, s}]], {w, 0, 1000}]
-
PARI
lista(kmax) = {my(p); for(k = 0, kmax, p = 1 + 3^k + 5^k; if(isprime(p), print1(p, ", ")));} \\ Amiram Eldar, Aug 11 2024