OFFSET
0,3
COMMENTS
Positive terms give a bisection of A000096. - Omar E. Pol, Dec 16 2016
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..5000
Emily Barnard and Nathan Reading, Coxeter-biCatalan combinatorics, arXiv:1605.03524 [math.CO], 2016. See p. 51.
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = A100345(n, n - 3) for n > 2.
a(n) = A014106(-n) for all n in Z. - Michael Somos, Nov 06 2005
From Michael Somos, Nov 06 2005: (Start)
G.f.: x*(-1 + 5*x)/(1 - x)^3.
E.g.f: x*(-1 + 2*x)*exp(x). (End)
a(n) = 2*a(n-1) - a(n-2) + 4, n > 1; a(0) = 0, a(1) = -1, a(2) = 2. - Zerinvary Lajos, Feb 18 2008
a(n) = a(n-1) + 4*n - 5 with a(0) = 0. - Vincenzo Librandi, Nov 20 2010
a(n) = (2*n-1)*(n-1) - 1. Also, with an initial offset of -1, a(n) = (2*n-1)*(n+1) = 2*n^2 + n - 1. - Alonso del Arte, Dec 15 2012
(a(n) + 1)^2 + (a(n) + 2)^2 + ... + (a(n) + n)^2 = (a(n) + n + 1)^2 + (a(n) + n + 2)^2 + ... + (a(n) + 2n - 1)^2 starting with a(1) = -1. - Jeffreylee R. Snow, Sep 17 2013
a(n) = A014105(n-1) - 1 for all n in Z. - Michael Somos, Nov 23 2021
From Amiram Eldar, Feb 20 2022: (Start)
Sum_{n>=1} 1/a(n) = -2*(1 - log(2))/3.
Sum_{n>=1} (-1)^n/a(n) = Pi/6 + log(2)/3 + 2/3. (End)
MAPLE
MATHEMATICA
Table[2n^2 - 3n, {n, 0, 49}] (* Alonso del Arte, Dec 15 2012 *)
LinearRecurrence[{3, -3, 1}, {0, -1, 2}, 50] (* Harvey P. Dale, Sep 18 2018 *)
PROG
(PARI) a(n)=n*(2*n-3)
CROSSREFS
KEYWORD
sign,easy
AUTHOR
STATUS
approved