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.

A085682 Numbers k such that k^k - (k-1)^k is prime.

Original entry on oeis.org

2, 3, 7, 43, 79, 463, 1277
Offset: 1

Views

Author

Farideh Firoozbakht, Jul 17 2003

Keywords

Comments

Each term of the sequence must be prime.
a(8) > 30000. - Michael S. Branicky, Dec 06 2024

Examples

			7 is in the sequence because 7^7 - 6^7 = 543607 is prime.
		

Crossrefs

Programs

  • PARI
    isok(k) = ispseudoprime(k^k - (k-1)^k); \\ Jinyuan Wang, Mar 19 2020