OFFSET
0,2
REFERENCES
A. H. Beiler, Recreations in the Theory of Numbers, Dover, N.Y., 1964, pp. 194-196.
LINKS
Index entries for linear recurrences with constant coefficients, signature (8,-18,16,-5).
FORMULA
a(n) = ((5^(n+3))-(8*(n^2) + 44*n + 61))/64.
a(n) = 5a(n-1)+ C(n+2, 2), n >= 0; a(-1)=0.
G.f.: 1 / ( (5*x-1)*(x-1)^3 ). - R. J. Mathar, Nov 19 2014
MATHEMATICA
LinearRecurrence[{8, -18, 16, -5}, {1, 8, 46, 240}, 20] (* Harvey P. Dale, Jun 19 2022 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Barry E. Williams, Jan 31 2000
STATUS
approved