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