OFFSET
0,2
COMMENTS
All subsequent terms are 21.
See Coscia-DeWitt (2016) for precise definition.
LINKS
Christopher Coscia and Jonathan DeWitt, Locally Convex Words and Permutations, Electronic Journal of Combinatorics. 23 (2), 2016, #P2.10.
Index entries for linear recurrences with constant coefficients, signature (1).
FORMULA
a(n) = 21 for n >= 5.
MATHEMATICA
PadRight[{1, 3, 9, 16, 20}, 100, 21] (* Paolo Xausa, Feb 03 2026 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Apr 15 2016
STATUS
approved
