cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A202018 a(n) = n^2 + n + 41.

Original entry on oeis.org

41, 43, 47, 53, 61, 71, 83, 97, 113, 131, 151, 173, 197, 223, 251, 281, 313, 347, 383, 421, 461, 503, 547, 593, 641, 691, 743, 797, 853, 911, 971, 1033, 1097, 1163, 1231, 1301, 1373, 1447, 1523, 1601, 1681, 1763, 1847, 1933, 2021, 2111, 2203, 2297, 2393
Offset: 0

Views

Author

Reinhard Zumkeller, Dec 08 2011

Keywords

Comments

Euler's famous prime-generating polynomial; a(0) through a(39) are all prime.

References

  • John H. Conway and Richard K. Guy, The Book of Numbers, New York: Springer-Verlag, 1996. See p. 225.
  • Paulo Ribenboim, The Little Book of Bigger Primes, Springer-Verlag NY 2004. See pp. 138-139, 145.

Crossrefs

Programs

Formula

a(n) = A005846(n) for n < 41, a(41) = A145292(1);
Union of A005846 (primes) and A145292 (composites);
a(n) = A002378(n) + 41.
a(a(n) + n) = a(n)*a(n+1). - Vladimir Shevelev, Jul 16 2012 (This identity holds for all sequences of the form n^2 + n + c, Joerg Arndt, Jul 17 2012).
a(0) = 41 and for n > 0, a(n) = a(n-1) + 2*n. - Jean-Christophe Hervé, Sep 27 2014
From Colin Barker, Sep 28 2014: (Start)
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
G.f.: (41*x^2 - 80*x + 41) / (1-x)^3. (End)
a(n) = 2*a(n-1) - a(n-2) + 2. - Vincenzo Librandi, Mar 04 2016
E.g.f.: (x^2 + 2*x + 41)*exp(x). - Robert Israel, Mar 10 2016
Sum_{n>=0} 1/a(n) = tanh(sqrt(163)*Pi/2)*Pi/sqrt(163). - Amiram Eldar, May 12 2025