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

A097477
a(n) = number of earlier terms greater than a(floor(n/2)); a(1)=1.
0
1, 0, 0, 1, 2, 3, 4, 3, 4, 4, 5, 4, 5, 2, 2, 6, 7, 4, 4, 4, 4, 2, 2, 4, 4, 2, 2, 16, 17, 18, 19, 5, 5, 4, 4, 10, 11, 12, 13, 14, 15, 16, 17, 32, 33, 34, 35, 22, 23, 24, 25, 40, 41, 42, 43, 16, 16, 14, 14, 13, 13, 12, 12, 34, 35, 36, 37, 42, 43, 44, 45, 39, 40, 40, 41, 39, 40, 38, 39, 37
OFFSET
1,5
COMMENTS
a(2*n+1) - a(2*n) <= 1.
CROSSREFS
Sequence in context: A067349 A108414 A253250 * A059572 A031249 A031232
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Sep 19 2004
STATUS
approved