OFFSET
1,3
EXAMPLE
The first 8 terms of the sequence are 1,1,2,3,5,8,13,21. Those integers which are missing from the first 8 terms of the sequence form the sequence 4,6,7,9,10,11,12,14,15,16,17,18,19,20,.. Counting down from a(8)=21 a total of a(7)=13 positions in this sequence of missing terms, we land on 6. So a(9) = 6.
There are fewer than a(8)=21 missing positive integers below a(9)=6, so we count UP to get a(10). a(10) is what we land on when counting up from 6 a total of a(8)=21 positions, skipping over terms which occur earlier in the sequence. So a(10) = 30.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, May 09 2006
EXTENSIONS
More terms from Joshua Zucker, Jul 27 2006
STATUS
approved