login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A081508
Primes of form 1 + 3^k + 5^k.
2
3, 244672067, 14551915378461487103639747, 3552713678880267372432493847753987, 211758236813575107295480170109084902352995775163267
OFFSET
1,1
LINKS
FORMULA
a(n) = A074507(A076515(n)). - Amiram Eldar, Aug 11 2024
MATHEMATICA
Do[s=1^w+3^w+5^w; If[IntegerQ[w/100], Print[{w}]]; If[PrimeQ[s], Print[{w, s}]], {w, 0, 1000}]
PROG
(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
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Apr 15 2003
STATUS
approved