OFFSET
1,4
FORMULA
a(n)=c*n+O(1) where c is the positive root of x^3+2*x-1=0, c=0.453397651516403767644746538...
MAPLE
a:= proc(n) a(n):= ceil((n-a(a(a(n-1))))/2) end: a(1):=1:
seq(a(n), n=1..100); # Alois P. Heinz, Sep 23 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Nov 12 2003
STATUS
approved