OFFSET
1,1
LINKS
Colin Barker, Table of n, a(n) for n = 1..145
Index entries for linear recurrences with constant coefficients, signature (7300803,-7300803,1).
FORMULA
G.f.: -21*x*(x^2 -844482*x +33281)/((x-1)*(x^2 -7300802*x +1)).
EXAMPLE
698901 is in the sequence because Oct(483) = 698901 = 231296 + 232965 + 234640 = Oct(278) + Oct(279) + Oct(280).
MATHEMATICA
CoefficientList[Series[-21*x*(x^2 -844482*x +33281)/((x-1)*(x^2 -7300802*x +1)), {x, 0, 50}], x] (* G. C. Greubel, Oct 18 2017 *)
LinearRecurrence[{7300803, -7300803, 1}, {698901, 5102520783381, 37252493940331837461}, 20] (* Harvey P. Dale, Sep 16 2018 *)
PROG
(PARI) Vec(-21*x*(x^2 -844482*x +33281)/((x-1)*(x^2 -7300802*x +1)) + O('x^20))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, May 21 2015
STATUS
approved