OFFSET
0,9
LINKS
Index entries for linear recurrences with constant coefficients, signature (2, -1, 0, 0, 0, 0, 0, 0, 0, 0, 1, -2, 1).
FORMULA
a(n) = +2*a(n-1) -a(n-2) +a(n-11) -2*a(n-12) +a(n-13). G.f.: x^6*(x^2-x+1) / ((1-x)^3*(1+x^10+x^9+x^8+x^7+x^6+x^5+x^4+x^3+x^2+x) ). [R. J. Mathar, Apr 15 2010]
MATHEMATICA
Table[Floor[(n(n-1))/22], {n, 0, 70}] (* or *) LinearRecurrence[{2, -1, 0, 0, 0, 0, 0, 0, 0, 0, 1, -2, 1}, {0, 0, 0, 0, 0, 0, 1, 1, 2, 3, 4, 5, 6}, 70]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved