OFFSET
1,1
LINKS
J. Berstel, A. Lauve, C. Reutenauer & F. Saliola, Combinatorics on Words: Christoffel Words and Repetitions in Words, 2008, see p. 110.
Aviezri S. Fraenkel and Jamie Simpson, How Many Squares Can a String Contain?, Journal of Combinatorial Theory, Series A 82, 112-120 (1998).
MATHEMATICA
rb1[n_]:=Module[{c=PadRight[{}, n, 1]}, FromDigits[Join[c, {1, 2}, c, {2}, c, {1, 2}]]]; Array[rb1, 10] (* Harvey P. Dale, Sep 24 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 28 2012
STATUS
approved