login
a(n)=index of first term of n-th run of consecutive terms in arithmetic progression in A281579.
2

%I #7 Feb 01 2017 16:52:30

%S 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,

%T 68,70,73,76,79,82,86,91,97,104,110,115,119,122,124,126,128,130,132,

%U 134,136,139,143,148,154,161,167,172,176,179,182,185,188,192,197

%N a(n)=index of first term of n-th run of consecutive terms in arithmetic progression in A281579.

%C This sequence is strictly increasing.

%C For any n>0, a(n+1)=index of last term of n-th run of consecutive terms in arithmetic progression in A281579.

%H Rémy Sigrist, <a href="/A281783/b281783.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n)=2-n+Sum_{k=1..n-1} A281579(k) for any n>0.

%Y Cf. A281579.

%K nonn

%O 1,2

%A _Rémy Sigrist_, Jan 29 2017