OFFSET
1,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (10,-38,68,-57,18).
FORMULA
a(n) = (3^(n-1)-1)*(n-3)/2 + 2^(n-1) - 1.
MATHEMATICA
LinearRecurrence[{10, -38, 68, -57, 18}, {0, 0, 3, 20, 95}, 35] (* James C. McMahon, Jan 07 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ocean Wong, Jan 01 2025
STATUS
approved
