OFFSET
1,2
REFERENCES
R. K. Guy, Unsolved Problems in Number Theory, E20.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
R. G. Stanton and P. H. Dirksen, Davenport-Schinzel sequences, Ars. Combin., 1 (1976), 43-51.
LINKS
R. G. Stanton and P. H. Dirksen, Davenport-Schinzel sequences, Ars. Combin., 1 (1976), 43-51. [Annotated scanned copy]
R. G. Stanton and P. H. Dirksen, Davenport-Schinzel sequences, Ars. Combin., 1 (1976), 43-51. [Annotated scanned copy, different annotations from one above]
Index entries for linear recurrences with constant coefficients, signature (1,1,-1).
FORMULA
For n > 4, a(2*n) = 12 * n - 13 and a(2*n+1) = 12 * n - 14. - Sean A. Irvine, Feb 19 2016
From Chai Wah Wu, Jun 17 2020: (Start)
a(n) = a(n-1) + a(n-2) - a(n-3) for n > 7.
G.f.: x*(x^2 + x + 1)*(x^4 + x^3 - x^2 + 2*x + 1)/((x - 1)^2*(x + 1)). (End)
MATHEMATICA
LinearRecurrence[{1, 1, -1}, {1, 4, 7, 12, 16, 23, 28}, 60] (* Harvey P. Dale, Jul 22 2021 *)
CROSSREFS
KEYWORD
nonn,nice,easy
AUTHOR
EXTENSIONS
Title improved and more terms from Sean A. Irvine, Feb 19 2016
STATUS
approved