login
A330629
Lexicographically earliest sequence of nonnegative terms such that for any n > 0 and k > 0, a(n+2*k) <> floor((a(n) + a(n+k))/2).
2
0, 0, 1, 1, 2, 2, 3, 0, 0, 3, 0, 2, 2, 1, 3, 3, 4, 4, 5, 5, 6, 0, 0, 6, 0, 1, 1, 6, 6, 7, 7, 5, 5, 0, 7, 7, 8, 8, 4, 2, 8, 8, 3, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 2, 0, 0, 13, 0, 1, 1, 2, 12, 11, 13, 1, 2, 3, 0, 0, 12, 11, 13, 11, 11, 12, 14, 14, 3, 14, 14
OFFSET
1,5
PROG
(C) See Links section.
CROSSREFS
See A330267 for similar sequences.
Sequence in context: A289814 A328686 A330622 * A304760 A304759 A073438
KEYWORD
nonn,look
AUTHOR
Rémy Sigrist, Dec 21 2019
STATUS
approved