OFFSET
0,2
COMMENTS
A recurrence relation that occurs in A391959.
LINKS
Index entries for linear recurrences with constant coefficients, signature (7,-15,9).
FORMULA
a(n) = A391959(3^n).
From Stefano Spezia, Dec 31 2025: (Start)
a(n) = (3^n*(4*n - 1) + 1)/2.
G.f.: x*(5 - 3*x)/((1 - 3*x)^2*(1 - x)).
E.g.f.: exp(x)*(1 + exp(2*x)*(12*x - 1))/2. (End)
MATHEMATICA
LinearRecurrence[{7, -15, 9}, {0, 5, 32}, 26] (* Amiram Eldar, Dec 31 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
A.H.M. Smeets, Dec 30 2025
STATUS
approved
