OFFSET
1,2
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program for A331910
EXAMPLE
a(8) and a(9) are 4 because runs of length 2 containing values 1 and 2 appear earlier in the sequence and because a(7) is 3.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Samuel B. Reid, Jan 31 2020
STATUS
approved