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