OFFSET
1,2
COMMENTS
EXAMPLE
Initialize all terms to 2. Set a(1)=1, go one term forward,
set a(2)=a(1)+1=2, go 2 terms forward,
set a(4)=a(2)+1=3, go 3 terms forward,
set a(7)=a(3)+1=3, go 3 terms forward,
set a(10)=a(4)+1=4, go 4 terms forward,
set a(14)=a(5)+1=3, etc.
The indices 1,2,4,7,10,14,... form A087160.
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Aug 22 2003
STATUS
approved