A385717 a(n) = a(n-1) + a(n-2) + a(n-3), with a(1) = 4, a(2) = 13, a(3) = 42.
4, 13, 42, 59, 114, 215, 388, 717, 1320, 2425, 4462, 8207, 15094, 27763, 51064, 93921, 172748, 317733, 584402, 1074883, 1977018, 3636303, 6688204, 12301525, 22626032, 41615761, 76543318, 140785111, 258944190, 476272619
Offset: 1
Links
- Index entries for linear recurrences with constant coefficients, signature (1,1,1).
Programs
-
Mathematica
LinearRecurrence[{1, 1, 1}, {4, 13, 42}, 30]
Formula
G.f.: x*(4 + 9*x + 25*x^2)/(1 - x - x^2 - x^3). - Stefano Spezia, Jul 08 2025
Comments