OFFSET
1,2
COMMENTS
Convolution of the powers of 6 with the triangular numbers [1, 3, 6, 10, ...].
LINKS
Index entries for linear recurrences with constant coefficients, signature (9,-21,19,-6).
FORMULA
a(n) = (72*6^n - 25*n^2 - 85*n - 72)/250.
a(n) = 9*a(n-1) - 21*a(n-2) + 19*a(n-3) - 6*a(n-4), n >= 5.
G.f.: x/((1 - 6*x)*(1 - x)^3).
E.g.f.: exp(x)*(72*exp(5*x) - 25*x^2 - 110*x - 72)/250.
Apply partial sum operator thrice to A000400.
MATHEMATICA
a[n_] := (72*6^n - 25*n^2 - 85*n - 72)/250; Array[a, 24] (* Amiram Eldar, Nov 06 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Enrique Navarrete, Nov 05 2025
STATUS
approved
