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.

A033594 a(n) = (n-1)*(2*n-1)*(3*n-1).

Original entry on oeis.org

-1, 0, 15, 80, 231, 504, 935, 1560, 2415, 3536, 4959, 6720, 8855, 11400, 14391, 17864, 21855, 26400, 31535, 37296, 43719, 50840, 58695, 67320, 76751, 87024, 98175, 110240, 123255, 137256, 152279, 168360
Offset: 0

Views

Author

Keywords

Comments

The sequence of n such that n is prime and (2*n+1) is prime is the sequence of Sophie Germain primes A005384 and the subsequence of those for which in addition (3*n+2) is prime is A067256. - Jonathan Vos Post, Dec 15 2004

Crossrefs

Programs

Formula

a(n)*A016921(n) + 1 = A051866(n)^2. - Bruno Berselli, May 23 2011
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4), with a(0)=-1, a(1)=0, a(2)=15, a(3)=80. - Harvey P. Dale, Aug 23 2012
G.f.: (-1 +4*x +9*x^2 +24*x^3)/(1-x)^4. - R. J. Mathar, Feb 06 2017
E.g.f.: (-1 + x + 7*x^2 + 6*x^3)*exp(x). - G. C. Greubel, Mar 05 2020
From Amiram Eldar, Jan 03 2021: (Start)
Sum_{n>=2} 1/a(n) = (7 - sqrt(3)*Pi - 16*log(2) + 9*log(3))/4.
Sum_{n>=2} (-1)^n/a(n) = Pi - 7/4 - sqrt(3)*Pi/2 + 2*log(2). (End)