OFFSET
0,3
COMMENTS
a(n) is the number of Motzkin n-paths of height <= 4. - Alois P. Heinz, Nov 24 2023
LINKS
S. Felsner and D. Heldt, Lattice Path Enumeration and Toeplitz Matrices, J. Int. Seq. 18 (2015) # 15.1.3.
Daniel Heldt, On the mixing time of the face flip-and up/down Markov chain for some families of graphs, Dissertation, Mathematik und Naturwissenschaften der Technischen Universitat Berlin zur Erlangung des akademischen Grades Doktor der Naturwissenschaften, 2016.
Index entries for linear recurrences with constant coefficients, signature (5,-6,-2,4).
FORMULA
a(n) = (1/12)*(4 + 3*2^n + (1-sqrt(3))^n + (1+sqrt(3))^n).
a(n) = 1/3 + 2^(n-2) + A026150(n)/6.
G.f.: -x*(1-3*x+3*x^3) / ( (x-1)*(2*x-1)*(2*x^2+2*x-1) ). - R. J. Mathar, Dec 20 2011
MATHEMATICA
LinearRecurrence[{5, -6, -2, 4}, {1, 2, 4, 9}, 30] (* Harvey P. Dale, Feb 01 2012 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Herbert Kociemba, Jun 02 2004
EXTENSIONS
a(0)=1 prepended by Alois P. Heinz, Nov 24 2023
STATUS
approved