OFFSET
0,2
COMMENTS
Generated by reading the table shown in A172002 down the diagonal starting at 1.
The inverse binomial transform yields 1, 3, 3, 0, 2, -4, 8, -16, 32, -64, 128, -256, 512, -1024, ... with a pattern of powers of 2.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (3,-2,-2,3,-1).
FORMULA
MATHEMATICA
Table[n^3/6+(3n^2)/4+(7n)/3+7/8+(-1)^n/8, {n, 0, 50}] (* or *) LinearRecurrence[{3, -2, -2, 3, -1}, {1, 4, 10, 19, 33}, 50] (* Harvey P. Dale, Jan 04 2012 *)
PROG
(Magma) [n^3/6 + 3*n^2/4 + 7*n/3 + 7/8 + (-1)^n/8: n in [0..50]]; // Vincenzo Librandi, Aug 05 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Feb 11 2010
STATUS
approved