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.

A093795 Numbers k such that 9^k + 8^(k-1) is prime.

Original entry on oeis.org

2, 7, 8, 31, 610, 1292, 4015, 5990, 8887, 9626, 57952, 62116, 84698
Offset: 1

Views

Author

Herman H. Rosenfeld (herm3(AT)pacbell.net), May 18 2004

Keywords

Comments

a(14) > 10^5. - Robert Price, Mar 05 2016

Examples

			8 is a term since 9^8 + 8^7 = 45143873, which is a prime number.
		

Crossrefs

Programs

  • Mathematica
    Do[ If[ PrimeQ[9^n + 8^(n - 1)], Print[n]], {n, 4000}]
  • PARI
    is(n)=isprime(9^n+8^(n-1)) \\ Charles R Greathouse IV, Feb 17 2017

Extensions

More terms from Robert G. Wilson v, Jun 18 2004
a(7)-a(13) from Robert Price, Mar 05 2016