OFFSET
0,2
LINKS
Amir Sapir, The Tower of Hanoi with Forbidden Moves, The Computer J. 47 (1) (2004) 20, case cyclic++, sequence d(n) (offset 1).
Index entries for linear recurrences with constant coefficients, signature (2,3,-4).
FORMULA
G.f.: (1+2x)/[(1-x)(1-x-4x^2)]. - Ralf Stephan, Feb 04 2004 (follows from first comment in A026581)
MATHEMATICA
LinearRecurrence[{2, 3, -4}, {1, 4, 11}, 40] (* Harvey P. Dale, Apr 03 2024 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved