A382057 Z-sequence for the Riordan triangle A125166.
8, -37, 181, -865, 4105, -19441, 92017, -435457, 2060641, -9751105, 46142785, -218350081, 1033243777, -4889362177, 23136710401, -109484089345, 518084273665, -2451601105921, 11601100993537, -54896999325697, 259775389992961, -1229270344003585, 5816969724063745, -27526196280360961
Offset: 0
Examples
The Riordan triangle A125166 has row n = 3 [64, 36, 10, 1], hence R(0, 4) = 8*64 - 37*36 + 10*181 - 1*865 = 125 = 5^3.
Links
- Index entries for linear recurrences with constant coefficients, signature (-7,-12,-6).
Programs
-
Mathematica
LinearRecurrence[{-7,-12,-6},{8,-37,181,-865},24] (* Stefano Spezia, Mar 26 2025 *)
Formula
O.g.f.: (8 + 19*x + 18*x^2 + 6*x^3)/((1 + x)*(1 + 6*x+ 6*x^2)).
Comments