A145292 Composite numbers generated by the Euler polynomial x^2 + x + 41.
1681, 1763, 2021, 2491, 3233, 4331, 5893, 6683, 6847, 7181, 7697, 8051, 8413, 9353, 10547, 10961, 12031, 13847, 14803, 15047, 15293, 16043, 16297, 17071, 18673, 19223, 19781, 20633, 21797, 24221, 25481, 26123, 26447, 26773, 27101, 29111
Offset: 1
Keywords
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Programs
-
Haskell
a145292 n = a145292_list !! (n-1) a145292_list = filter ((== 0) . a010051) a202018_list -- Reinhard Zumkeller, Dec 09 2011
-
Mathematica
a = {}; Do[If[PrimeQ[x^2 + x + 41], null,AppendTo[a, x^2 + x + 41]], {x, 0, 500}]; a Select[Table[x^2+x+41,{x,200}],CompositeQ] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Dec 21 2018 *)
-
PARI
for(n=1,1e3,if(!isprime(t=n^2+n+41),print1(t", "))) \\ Charles R Greathouse IV, Dec 08 2011
Formula
a(n) ~ n^2. [Charles R Greathouse IV, Dec 08 2011]
Comments