OFFSET
0,3
REFERENCES
R. K. Guy, Letter to N. J. A. Sloane, Feb 05 1986.
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
R. K. Guy, Letter to N. J. A. Sloane, Feb 1986
Index entries for linear recurrences with constant coefficients, signature (4,-6,6,-5,2,-1).
FORMULA
G.f.: x*(x^4-6*x^3+7*x^2-2*x+1) / (x^3-x^2+2*x-1)^2. - Colin Barker, Jul 12 2015
PROG
(PARI) concat(0, Vec(x*(x^4-6*x^3+7*x^2-2*x+1)/(x^3-x^2+2*x-1)^2 + O(x^40))) \\ Colin Barker, Jul 12 2015
(Haskell)
a259967 n = a259967_list !! n
a259967_list = 3 : 2 : 2 : 5 : zipWith3 (((+) .) . (+))
a259967_list (drop 2 a259967_list) (drop 3 a259967_list)
-- Reinhard Zumkeller, Jul 12 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2015
EXTENSIONS
a(28)-a(33) from Hiroaki Yamanouchi, Jul 12 2015
STATUS
approved