OFFSET
0,9
LINKS
Index entries for linear recurrences with constant coefficients, signature (2, -1, 0, 0, 0, 0, 1, -2, 1, 0, 0, 0, 0, -1, 2, -1, 0, 0, 0, 0, 1, -2, 1).
FORMULA
G.f.: (x^6 (-1-(-1+x) x (1+(-1+x) x) (1+x^2) (1+x+x^2) (1-x^2+x^4)))/(-1+x (2+x (-1+(-1+x)^2 x^5 (1-x^7+x^14)))) Peter J. C. Moses, Jun 01 2014
a(n)= +2*a(n-1) -a(n-2) +a(n-7) -2*a(n-8) +a(n-9) -a(n-14) +2*a(n-15) -a(n-16) +a(n-21) -2*a(n-22) +a(n-23). - R. J. Mathar, Aug 11 2021
MATHEMATICA
Table[Floor[(n(n-1))/28], {n, 0, 60}] (* or *) LinearRecurrence[{2, -1, 0, 0, 0, 0, 1, -2, 1, 0, 0, 0, 0, -1, 2, -1, 0, 0, 0, 0, 1, -2, 1}, {0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 15, 16}, 60] (* Harvey P. Dale, Apr 18 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved