OFFSET
1,1
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
FORMULA
a(n)=k^3-k^2-k-1 where k=A162294(n).
EXAMPLE
a(1)=4^3-4^2-4-1=43. a(2)=6^3-6^2-6-1=173.
MATHEMATICA
lst={}; Do[p=n^3-n^2-n-1; If[PrimeQ[p], AppendTo[lst, p]], {n, 2, 6!}]; lst
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Jun 30 2009
EXTENSIONS
Edited by R. J. Mathar, Jul 02 2009
STATUS
approved