OFFSET
0,4
COMMENTS
This sequence is a variant of A006997.
By Van der Waerden's theorem, this sequence is unbounded.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..10000
Rémy Sigrist, C++ program
EXAMPLE
For n = 5:
- the first 5 terms of the sequence are: 0, 1, 1, 2, 2,
- a(5) cannot equal 0 as we would have b(-5) = b(0) = b(5),
- a(5) cannot equal 1 as we would have b(-1) = b(2) = b(5),
- a(5) cannot equal 2 as we would have b(3) = b(4) = b(5),
- we chose a(5) = 3 as this does not induce tree equidistant equal terms.
PROG
(C++) See Links section.
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Rémy Sigrist, Jan 06 2024
STATUS
approved