A347493 a(0) = 1, a(1) = 0, a(2) = a(3) = 1; thereafter, a(n) = a(n-1) + a(n-2) + a(n-4).
1, 0, 1, 1, 3, 4, 8, 13, 24, 41, 73, 127, 224, 392, 689, 1208, 2121, 3721, 6531, 11460, 20112, 35293, 61936, 108689, 190737, 334719, 587392, 1030800, 1808929, 3174448, 5570769, 9776017, 17155715, 30106180, 52832664, 92714861, 162703240, 285524281, 501060185, 879299327, 1543062752
Offset: 0
Links
- Michael De Vlieger, Table of n, a(n) for n = 0..4096
- Jean-Luc Baril, Sergey Kirgizov, and Armen Petrossian, Dyck Paths with catastrophes modulo the positions of a given pattern, Australasian J. Comb. (2022) Vol. 84, No. 2, 398-418.
- Index entries for linear recurrences with constant coefficients, signature (1,1,0,1).
Programs
-
Mathematica
CoefficientList[Series[(1 - x)/(1 - x - x^2 - x^4), {x, 0, 40}], x] (* Michael De Vlieger, Mar 04 2022 *) LinearRecurrence[{1,1,0,1},{1,0,1,1},60] (* Harvey P. Dale, Aug 17 2023 *)
Comments