login
A372970
a(1)=1, then a(n) = floor(n/max(a(n-1),a(floor(n/2)))).
2
1, 2, 1, 2, 2, 3, 2, 4, 2, 5, 2, 4, 3, 4, 3, 4, 4, 4, 4, 4, 4, 5, 4, 6, 4, 6, 4, 7, 4, 7, 4, 8, 4, 8, 4, 9, 4, 9, 4, 10, 4, 10, 4, 8, 5, 9, 5, 8, 6, 8, 6, 8, 6, 9, 6, 8, 7, 8, 7, 8, 7, 8, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 8, 8, 8, 9, 8, 8, 8, 10, 8, 8, 8, 10, 8, 11, 8, 11, 8, 10, 9, 10, 9, 10, 9, 10, 9, 11
OFFSET
1,2
COMMENTS
It seems that limsup and liminf of a(n)/sqrt(n) exist (see link).
LINKS
Hugo Pfoertner, Plot of a(n)/sqrt(n), n=1..400000, zoom into pdf to see details.
PROG
(PARI) a(n)=if(n<2, 1, floor(n/max(a(n-1), a(n\2))))
CROSSREFS
Sequence in context: A260412 A360566 A283451 * A172245 A351005 A238781
KEYWORD
nonn
AUTHOR
Benoit Cloitre, May 18 2024
STATUS
approved