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-2 of 2 results.

A100837 Numbers k such that k^k + 4 is prime.

Original entry on oeis.org

0, 1, 3, 7, 43, 2569
Offset: 1

Views

Author

Cino Hilliard, Jan 07 2005

Keywords

Comments

From a post in [primeNumbers].
Here we interpret 0^0 as 1.
Next term exceeds 15000. - Sean A. Irvine, Sep 09 2009
Next term exceeds 25000. - Michael S. Branicky, Jun 28 2024

Crossrefs

Cf. A100840 (corresponding primes).

Programs

  • Mathematica
    For[n = 1, n < 1000, n++, If[ PrimeQ[n^n + 4], Print[n]]] (* Stefan Steinerberger, Apr 02 2006 *)
  • PARI
    f1(n,a) = for(x=0,n,y=x^x+a;if(ispseudoprime(y),print1(y",")))

Extensions

a(6) from Sean A. Irvine, Sep 09 2009

A173640 Primes of form n+2^n+3^n.

Original entry on oeis.org

2, 101, 60083, 11610630703530923996233764322611619865107483053157900065365853867349888133476404509
Offset: 1

Views

Author

Keywords

Comments

For a(5), n > 10000. - Daniel Starodubtsev, Aug 04 2019

Crossrefs

Programs

  • Mathematica
    Select[Table[n+2^n+3^n,{n,0,6!}],PrimeQ[#]&]
Showing 1-2 of 2 results.