OFFSET
1,1
LINKS
Hugo Pfoertner, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1)=2 because (2^3+1)/(2+1)=9/3=3 is prime, a(8)=34: (34^3+1)/(34+1)=39305/35=1123 is prime.
PROG
(PARI) is(n)=n%2==0 && isprime((n^3+1)/(n+1)) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Jun 20 2004
EXTENSIONS
Definition corrected by N. J. A. Sloane, Apr 08 2010
STATUS
approved