OFFSET
0,2
LINKS
B. Berselli, Table of n, a(n) for n = 0..1000. [From Bruno Berselli, Jun 03 2010]
P. Nissen and J. Taylor, Running clubs - a combinatorial investigation, Math. Mag., 64 (No. 1, 1991), 39-44.
Index entries for linear recurrences with constant coefficients, signature (4, -5, 2).
FORMULA
From Bruno Berselli, Jun 03 2010: (Start)
G.f.: (1+4*x-2*x^2)/[(1-2*x)*(1-x)^2].
a(n) - 4*a(n-1) + 5*a(n-2) - 2*a(n-3) = 0, with n>2. (End)
a(n) = 2*a(n-1)+3(n+1) with a(0)=1. [Vincenzo Librandi, Jun 03 2010]
MATHEMATICA
LinearRecurrence[{4, -5, 2}, {1, 8, 25}, 40] (* Harvey P. Dale, May 24 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jun 01 2010
STATUS
approved