OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = (1/6)*(165*n^3 - 225*n^2 + 66*n).
G.f.: x*(1 + 88*x + 76*x^2)/(1-x)^4. - Colin Barker, Feb 14 2012
a(n) = (55*n^3 - 75*n^2 + 22*n)/2. - Wesley Ivan Hurt, Nov 26 2013
MAPLE
MATHEMATICA
Table[(55n^3 - 75n^2 + 22n)/2, {n, 100}] (* Wesley Ivan Hurt, Nov 26 2013 *)
PROG
(Magma) [(1/6)*(165*n^3-225*n^2+66*n): n in [1..40]]; // Vincenzo Librandi, Jul 27 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
James A. Record (james.record(AT)gmail.com), Nov 07 2004
STATUS
approved