OFFSET
1,1
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (1,0,0,398,-398,0,0,-1,1).
FORMULA
G.f.: -11*x*(6*x^8-x^7+x^5-2199*x^4+559*x^3+315*x^2+161*x+195) / ((x-1)*(x^4-20*x^2+1)*(x^4+20*x^2+1)).
EXAMPLE
2145 is in the sequence because T(65) = 2145 = 105 + 120 + 136 + 153 + 171 + 190 + 210 + 231 + 253 + 276 + 300 = T(14) + ... + T(24).
MATHEMATICA
LinearRecurrence[{1, 0, 0, 398, -398, 0, 0, -1, 1}, {2145, 3916, 7381, 13530, 843051, 1547920, 2926990, 5374281, 335521560}, 30] (* Vincenzo Librandi, Jun 27 2015 *)
PROG
(PARI) Vec(-11*x*(6*x^8-x^7+x^5-2199*x^4+559*x^3+315*x^2+161*x+195)/((x-1)*(x^4-20*x^2+1)*(x^4+20*x^2+1)) + O(x^30))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Jun 26 2015
STATUS
approved