OFFSET
1,11
LINKS
C. Heuberger and H. Prodinger, On minimal expansions in redundant number systems: Algorithms and quantitative analysis, Computing 66(2001), 377-393.
PROG
(PARI) ep(r, n)=local(t=n/2^(r+2)); floor(t+5/6)-floor(t+4/6)-floor(t+2/6)+floor(t+1/6);
a(n)=sum(r=0, log(3*n)\log(2)-1, (ep(r, n) == 1)) ;
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Ralf Stephan, Jun 30 2003
STATUS
approved