OFFSET
0,4
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..10032
Rémy Sigrist, Colored scatterplot of the first 65000 terms (where the color denotes the parity of n)
Rémy Sigrist, C++ program
EXAMPLE
We can take a(0) = 0.
We cannot take a(1) = 0 as there are no pairs of consecutive terms summing to 0.
We can take a(1) = 1.
We cannot take a(2) = 0 as we already have one pair of consecutive terms summing to 1.
We can take a(2) = 1.
We cannot take a(3) = 0 as we already have one pair of consecutive terms summing to 1.
We cannot take a(3) = 1 as we already have one pair of consecutive terms summing to 2.
We can take a(3) = 2.
PROG
(C++) // See Links section.
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Rémy Sigrist and N. J. A. Sloane, Nov 17 2024
STATUS
approved