OFFSET
1,2
COMMENTS
Length of the symmetric signed digit expansion of n with q=2 (i.e., the length of the representation of n in the (-1,0,1)_2 number system).
n occurs A001045(n) times. - Amiram Eldar, Feb 18 2024
LINKS
C. Heuberger and H. Prodinger, On minimal expansions in redundant number systems: Algorithms and quantitative analysis, Computing 66(2001), 377-393.
FORMULA
Sum_{n>=1} (-1)^(n+1)/a(n) = log(2) (A002162). - Amiram Eldar, Feb 18 2024
MATHEMATICA
Floor[Log[2, 3*Range[100]]] (* Harvey P. Dale, Oct 15 2016 *)
PROG
(Haskell)
a085423 = a000523 . a008585 -- Reinhard Zumkeller, Mar 16 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ralf Stephan, Jun 30 2003
STATUS
approved