login
A330393
A 2-regular sequence whose reciprocal is not 2-regular.
0
1, 2, 2, 3, 3, 3, 4, 4, 5, 4, 6, 4, 7, 5, 8, 5, 9, 6, 10, 5, 11, 7, 12, 5, 13, 8, 14, 6, 15, 9, 16, 6, 17, 10, 18, 7, 19, 11, 20, 6, 21, 12, 22, 8, 23, 13, 24, 6, 25, 14, 26, 9, 27, 15, 28, 7, 29, 16, 30, 10, 31, 17, 32, 7, 33, 18, 34, 11, 35, 19, 36, 8, 37
OFFSET
0,2
LINKS
J.-P. Allouche and J. Shallit, The ring of k-regular sequences, Theoretical Computer Sci., 98 (1992), 163-197.
J.-P. Allouche and J. Shallit, The ring of k-regular sequences, Theoretical Computer Sci., 98 (1992), 163-197.
FORMULA
a(2n) = n + 1 and a(2n+1) = a(n) + 1 for n >= 0.
CROSSREFS
Sequence in context: A320063 A189717 A219519 * A273263 A274533 A163127
KEYWORD
nonn
AUTHOR
Jeffrey Shallit, Feb 25 2020
STATUS
approved