OFFSET
1,6
COMMENTS
See A189628.
FORMULA
s(n)=[n/3]+s([(n+1)/3])-s([n/3]), where s(0)=0.
MATHEMATICA
(See A189638.)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 24 2011
STATUS
approved