login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A281783
a(n)=index of first term of n-th run of consecutive terms in arithmetic progression in A281579.
2
1, 2, 3, 5, 7, 9, 12, 16, 19, 21, 23, 25, 27, 30, 34, 39, 45, 50, 54, 57, 60, 63, 65, 66, 67, 68, 70, 73, 76, 79, 82, 86, 91, 97, 104, 110, 115, 119, 122, 124, 126, 128, 130, 132, 134, 136, 139, 143, 148, 154, 161, 167, 172, 176, 179, 182, 185, 188, 192, 197
OFFSET
1,2
COMMENTS
This sequence is strictly increasing.
For any n>0, a(n+1)=index of last term of n-th run of consecutive terms in arithmetic progression in A281579.
LINKS
FORMULA
a(n)=2-n+Sum_{k=1..n-1} A281579(k) for any n>0.
CROSSREFS
Cf. A281579.
Sequence in context: A133231 A235111 A228896 * A224854 A074752 A039825
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Jan 29 2017
STATUS
approved