cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A081508 Primes of form 1 + 3^k + 5^k.

Original entry on oeis.org

3, 244672067, 14551915378461487103639747, 3552713678880267372432493847753987, 211758236813575107295480170109084902352995775163267
Offset: 1

Views

Author

Labos Elemer, Apr 15 2003

Keywords

Crossrefs

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

Formula

a(n) = A074507(A076515(n)). - Amiram Eldar, Aug 11 2024
Showing 1-1 of 1 results.