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.

A245427 Primes of the form n^6 - n^5 + n^4 - n^3 + n^2 - n + 1.

Original entry on oeis.org

43, 547, 909091, 1623931, 7027567, 10678711, 15790321, 22796593, 32222107, 81867661, 183458857, 234750601, 574995877, 2498207293, 6177695707, 7095062437, 9272716111, 13564461457, 19397579293, 24344094727, 50689400581, 81420308971, 137405657593, 149289169177
Offset: 1

Views

Author

K. D. Bajpai, Jul 21 2014

Keywords

Comments

All the terms in this sequence are primes, but none are congruent to 9 mod 10.
All terms == 1 (mod 7). - Robert Israel, Jul 22 2014

Examples

			n = 2: n^6 - n^5 + n^4 - n^3 + n^2 - n + 1 = 43, which is prime.
n = 10: n^6 - n^5 + n^4 - n^3 + n^2 - n + 1 = 909091, which is prime.
		

Crossrefs

Programs

  • Mathematica
    Select[Table[n^6 - n^5 + n^4 - n^3 + n^2 - n + 1, {n, 200}], PrimeQ]