OFFSET
1,1
COMMENTS
A subset of this sequence is shown in A055390. - Matt C. Anderson, Jan 05 2014
If prime p divides m^2+m+41, then m+p*j is in the sequence for all j >= 1. - Robert Israel, Nov 24 2017
Euler noted that the first 40 values of this polynomial, starting with k=0, are all primes. - Harvey P. Dale, Jul 25 2023
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..2000
FORMULA
a(n) ~ n. - Charles R Greathouse IV, Apr 25 2014
MAPLE
remove(n -> isprime(n^2+n+41), [$1..1000]); # Robert Israel, Nov 24 2017
MATHEMATICA
Select[Range[220], !PrimeQ[#^2 + # + 41] &] (* Vincenzo Librandi, Sep 28 2012 *)
PROG
(Magma) [n: n in [0..220] | not IsPrime(n^2 + n + 41)]; // Vincenzo Librandi, Sep 28 2012
(PARI) is(n)=!isprime(n^2+n+41) \\ Charles R Greathouse IV, Apr 25 2014
CROSSREFS
KEYWORD
nonn,easy
STATUS
approved