OFFSET
0,8
COMMENTS
The sequence is dominated by the count of progressions consisting of three or more 0's. Very rarely the count of these zero-progressions forms a new progression of its own, which forms a short series of small terms and resets the subsequent count of the zero-progressions to a lower value. In the first 10^5 terms this only happens three times - at a(10) (which is not readily noticeable on the graph of the terms), a(644), and a(61434). See the attached images.
LINKS
Scott R. Shannon, Table of n, a(n) for n = 0..10000.
Scott R. Shannon, Image of the first 1000 terms.
Scott R. Shannon, Image of the first 100000 terms.
EXAMPLE
a(3) = 1 and a(2) = a(1) = a(0) = 0 form a progression with ratio 1 separated by one term.
a(7) = 2 as a(6) = a(4) = a(2) = 0 form a three-term progression with ratio 1 separated by two terms, while a(6) = a(4) = a(2) = a(0) = 0 form a four-term progression with ratio 1 separated by two terms.
a(10) = 1 as a(9) = 4, a(7) = 2, a(5) = 1 form a three-term progression with ratio 1/2 separated by two terms.
CROSSREFS
KEYWORD
nonn
AUTHOR
Scott R. Shannon, Oct 27 2023
STATUS
approved