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).
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
Links
- Rémy Sigrist, Table of n, a(n) for n = 1..10000
- Rémy Sigrist, Scatterplot of the first 1000000 terms
- Rémy Sigrist, C program for A330629
- Index entries related to non-averaging sequences
Crossrefs
See A330267 for similar sequences.
Programs
-
C
See Links section.