OFFSET
1,2
LINKS
Colin Barker, Table of n, a(n) for n = 1..339
Index entries for linear recurrences with constant coefficients, signature (899,-899,1).
FORMULA
a(n) = 899*a(n-1)-899*a(n-2)+a(n-3).
G.f.: -x*(x^2-58*x+1) / ((x-1)*(x^2-898*x+1)).
EXAMPLE
841 is in the sequence because it is the 16th centered heptagonal number and the 15th centered octagonal number.
PROG
(PARI) Vec(-x*(x^2-58*x+1)/((x-1)*(x^2-898*x+1)) + O(x^100))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Jan 03 2015
STATUS
approved