OFFSET
1,3
COMMENTS
The terms form quickly form a repetitive pattern of arithmetic progressions of increasing length, see the graph. This leads to any given value t eventually being in a progression of length t+1 which then never increases.
See A366724 for the index where a number first appears.
LINKS
Scott R. Shannon, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 2 as a(2) = 1 and a(2) = a(1) = 1.
a(11) = 3 as a(10) = 2 and a(7) = a(6) = a(5) = 2.
a(18) = 4 as a(17) = 3 and a(17) = a(15) = a(13) = a(11) = 3.
CROSSREFS
KEYWORD
nonn
AUTHOR
Scott R. Shannon, Oct 13 2023
STATUS
approved