OFFSET
1,1
LINKS
Colin Barker, Table of n, a(n) for n = 1..146
Index entries for linear recurrences with constant coefficients, signature (7300803,-7300803,1).
FORMULA
a(n) = 7300803*a(n-1)-7300803*a(n-2)+a(n-3).
G.f.: -40*x*(x^2+40545*x+14) / ((x-1)*(x^2-7300802*x+1)).
EXAMPLE
560 is in the sequence because 560 is the 14th octagonal number, and 3*560=1680 is the 24th octagonal number.
MATHEMATICA
CoefficientList[Series[40 (x^2 + 40545 x + 14)/((1 - x) (x^2 - 7300802 x + 1)), {x, 0, 40}], x] (* Vincenzo Librandi, Jun 21 2015 *)
PROG
(PARI) Vec(-40*x*(x^2+40545*x+14)/((x-1)*(x^2-7300802*x+1)) + O(x^20))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Jun 21 2015
STATUS
approved