OFFSET
1,4
COMMENTS
LINKS
Scott R. Shannon, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1) = a(2) = a(3) = 1, which is the first appearance of three 1's separated by one term.
a(4) = 2 as 1 cannot be chosen as that would form a(2) = a(3) = a(4) = 1, but three 1's separated by one term has already appeared.
a(5) = 1, which also forms three 1's separated by two terms, a(1) = a(3) = a(5) = 1.
a(17) = 3 as 1 cannot be chosen as that would form a(15) = a(16) = a(17) = 1, but three 1's separated by one term has already appeared, while choosing 2 would form a(11) = a(14) = a(17) = 2, but three 2's separated by three terms has already appeared at a(4) = a(7) = a(10) = 2.
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Scott R. Shannon, Mar 01 2025
STATUS
approved