OFFSET
1,1
COMMENTS
(1^3 + 3^3)/2 = 14,..
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n) = 4*a(n-1)-6*a(n-2)+4*a(n-3)-a(n-4). - Colin Barker, Jan 17 2015
G.f.: 2*x*(7*x^2+10*x+7) / (x-1)^4. - Colin Barker, Jan 17 2015
MATHEMATICA
f[n_]:=(n^3+(n+2)^3)/2; Table[f[n], {n, 1, 6!, 2}]
Mean/@Partition[Range[1, 81, 2]^3, 2, 1] (* Harvey P. Dale, Apr 20 2015 *)
PROG
(PARI) Vec(2*x*(7*x^2+10*x+7)/(x-1)^4 + O(x^100)) \\ Colin Barker, Jan 17 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Mar 03 2010
STATUS
approved