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.

A073499 Numbers k such that k^(k+1) + (k+1)^k is prime.

Original entry on oeis.org

1, 2, 80, 342, 848, 1194, 2658, 4790, 9376
Offset: 1

Views

Author

Rick L. Shepherd, Aug 05 2002

Keywords

Comments

a(10) > 20000. - Michael S. Branicky, Apr 13 2025

Examples

			1^2 + 2^1 = 3 and 2^3 + 3^2 = 17 are the primes corresponding to the first two terms. The next five terms correspond to primes of 155, 870, 2487, 3678 and 9106 decimal digits.
		

Crossrefs

Programs

  • Mathematica
    Do[ If[ PrimeQ[n^(n + 1) + (n + 1)^n], Print[n]], {n, 1, 1650}]
  • PARI
    for(n=1,1650, if(isprime((n^(n+1))+((n+1)^n)), print1(n,",")))

Extensions

Edited by Robert G. Wilson v, Aug 08 2002
a(7) from Charles R Greathouse IV, Jan 13 2012
a(8) from Charles R Greathouse IV, Jan 17 2012
a(9) found by Alexander Adamchuk, Apr 09 2007 and shown to be a(9) by Charles R Greathouse IV, Jan 27 2012