A162295 Primes of the form k^3-k^2-k-1.
43, 173, 439, 1571, 3823, 10141, 21139, 38113, 83203, 122449, 154493, 172423, 191689, 433123, 468389, 673639, 1318789, 1392271, 1628989, 2388013, 2608889, 3771923, 4225121, 4546573, 4713239, 4883929, 6609139, 6822709, 7959799
Offset: 1
Keywords
Examples
a(1)=4^3-4^2-4-1=43. a(2)=6^3-6^2-6-1=173.
Links
- Ivan Neretin, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
lst={};Do[p=n^3-n^2-n-1;If[PrimeQ[p],AppendTo[lst,p]],{n,2,6!}];lst
Formula
a(n)=k^3-k^2-k-1 where k=A162294(n).
Extensions
Edited by R. J. Mathar, Jul 02 2009
Comments