OFFSET
1,3
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..16383
M. Bucci, A. De Luca, A. Glen and L. Q. Zamboni, A connection between palindromic and factor complexity using return words, arXiv:0802.1332 [math.CO], 2008. See Section 4.
MATHEMATICA
Nest[Flatten[ReplaceAll[#, 1->{1, 1, 2}]]&, {1}, 6] (* Paolo Xausa, Nov 08 2023 *)
PROG
(PARI) w = [1]; while (#w<63, w=concat(apply(t -> [[1, 1, 2], [2]][t], w))); print (w) \\ Rémy Sigrist, Nov 01 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jun 05 2019
EXTENSIONS
More terms from Rémy Sigrist, Nov 01 2021
STATUS
approved