OFFSET
1,1
LINKS
Colin Barker, Table of n, a(n) for n = 1..316
Index entries for linear recurrences with constant coefficients, signature (1443,-1443,1).
FORMULA
G.f.: -95*x*(63*x^2 - 1922*x + 11)/((x - 1)*(x^2 - 1442*x + 1)).
EXAMPLE
1045 is in the sequence because Oct(19) = 1045 = 1+8+21+40+65+96+133+176+225+280 = Oct(1) + ... + Oct(10).
MATHEMATICA
CoefficientList[Series[-95 x (63 x^2 - 1922 x + 11)/((x - 1) (x^2 - 1442 x + 1)), {x, 0, 50}], x] (* G. C. Greubel, Oct 18 2017 *)
LinearRecurrence[{1443, -1443, 1}, {1045, 1325345, 1910970885}, 20] (* Harvey P. Dale, Jul 25 2019 *)
PROG
(PARI) Vec(-95*x*(63*x^2-1922*x+11)/((x-1)*(x^2-1442*x+1)) + O('x^20))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, May 21 2015
STATUS
approved