login
A366121
A fractal sequence. Pick any term t: exactly two of the t terms following t are larger than t.
1
2, 3, 3, 4, 4, 2, 5, 5, 2, 3, 6, 6, 2, 3, 3, 7, 7, 2, 3, 3, 4, 8, 8, 2, 3, 3, 4, 4, 9, 9, 2, 3, 3, 4, 4, 2, 10, 10, 2, 3, 3, 4, 4, 2, 5, 11, 11, 2, 3, 3, 4, 4, 2, 5, 5, 12, 12, 2, 3, 3, 4, 4, 2, 5, 5, 2, 13, 13, 2, 3, 3, 4, 4, 2, 5, 5, 2, 3, 14, 14, 2, 3, 3, 4, 4, 2, 5, 5, 2, 3, 6, 15, 15, 2, 3, 3, 4, 4, 2, 5, 5, 2, 3, 6, 6, 16, 16
OFFSET
1,1
COMMENTS
Starting with a(1) = 2, this is the lexicographically earliest sequence with this property.
If we want the two terms to be distinct, see A366122.
EXAMPLE
Two terms out of 2 following a(1) = 2 are > 2: they are 3 and 3.
Two terms out of 3 following a(2) = 3 are > 3: they are 4 and 4.
Two terms out of 3 following a(3) = 3 are > 3: they are 4 and 4.
Two terms out of 4 following a(4) = 4 are > 4: they are 5 and 5.
Two terms out of 4 following a(5) = 4 are > 4: they are 5 and 5.
Two terms out of 2 following a(6) = 2 are > 2: they are 5 and 5.
Two terms out of 5 following a(7) = 5 are > 5: they are 6 and 6.
Two terms out of 5 following a(8) = 5 are > 5: they are 6 and 6; etc.
CROSSREFS
Cf. A366122.
Sequence in context: A063826 A320120 A152983 * A331377 A343754 A327551
KEYWORD
nonn
AUTHOR
Eric Angelini, Sep 30 2023
STATUS
approved