OFFSET
1,1
FORMULA
Let sd2(n) the sum of digits of n written in base 2. Then a(n) =1 + Floor(n/sd2(n)).
EXAMPLE
9 is written 1001 in base 2, then sd2(9)=2; 4*2<9<5*2; then (c,9)=5
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Philippe LALLOUET (philip.lallouet(AT)wanadoo.fr), Jul 27 2007
STATUS
approved