OFFSET
0,1
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
I. Amburg, K. Dasaratha, L. Flapan, T. Garrity, C. Lee, C. Mihailak, N. Neumann-Chun, S. Peluse, M. Stoffregen, Stern Sequences for a Family of Multidimensional Continued Fractions: TRIP-Stern Sequences, arXiv:1509.05239 [math.CO], 17 Sep 2015.
Index entries for linear recurrences with constant coefficients, signature (4,-5,4).
FORMULA
From Colin Barker, Jan 09 2018: (Start)
G.f.: (3 - 4*x + 5*x^2) / (1 - 4*x + 5*x^2 - 4*x^3).
a(n) = 4*a(n-1) - 5*a(n-2) + 4*a(n-3) for n>2.
(End)
PROG
(PARI) Vec((3 - 4*x + 5*x^2) / (1 - 4*x + 5*x^2 - 4*x^3) + O(x^40)) \\ Colin Barker, Jan 09 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ilya Amburg, Nov 23 2016
STATUS
approved