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”).

Satisfies a(1)=1, a(A087163(n+1)) = a(n)+1, with a(m)=3 for all m not found in A087163, where A087163(n+2)=A087163(n+1)+a(n)+1.
2

%I #4 Mar 30 2012 18:36:38

%S 1,2,3,3,3,3,4,3,3,3,4,3,3,3,4,3,3,3,4,3,3,3,5,3,3,3,3,4,3,3,3,4,3,3,

%T 3,4,3,3,3,5,3,3,3,3,4,3,3,3,4,3,3,3,4,3,3,3,5,3,3,3,3,4,3,3,3,4,3,3,

%U 3,4,3,3,3,5,3,3,3,3,4,3,3,3,4,3,3,3,4,3,3,3,6,3,3,3,3,3,4,3,3,3,4,3,3,3,4

%N Satisfies a(1)=1, a(A087163(n+1)) = a(n)+1, with a(m)=3 for all m not found in A087163, where A087163(n+2)=A087163(n+1)+a(n)+1.

%F Records occur at A087164: a(A087164(n))=n.

%e Initialize all terms to 3. Set a(1)=1, go one term forward,

%e set a(2)=a(1)+1=2, go 2 terms forward,

%e set a(4)=a(2)+1=3, go 3 terms forward,

%e set a(7)=a(3)+1=4, go 4 terms forward,

%e set a(11)=a(4)+1=4, go 4 terms forward,

%e set a(15)=a(5)+1=4, etc.

%e The indices 1,2,4,7,11,15,... form A087163.

%Y Cf. A087163, A087164.

%K nonn

%O 1,2

%A _Paul D. Hanna_, Aug 22 2003