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