reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
editing
proposed
_Vladimir Joseph Stephan Orlovsky (4vladimir(AT)gmail.com), _, Oct 11 2009
Definition shortened, offset set to zero by _R. J. Mathar (mathar(AT)strw.leidenuniv.nl), _, Oct 14 2009
Number of 1's in binary expansion of A000326(n).
0, 1, 2, 2, 3, 3, 4, 3, 4, 5, 3, 3, 4, 7, 6, 4, 5, 5, 7, 3, 5, 5, 6, 5, 5, 7, 7, 4, 4, 8, 7, 5, 6, 5, 7, 6, 6, 9, 5, 6, 5, 6, 4, 4, 5, 8, 7, 7, 6, 9, 7, 6, 10, 6, 8, 7, 4, 8, 7, 4, 8, 9, 8, 6, 7, 5, 7, 6, 9, 8, 7, 8, 8, 8, 10, 4, 6, 7, 10, 6, 6, 6, 9, 5, 7, 7, 8, 7, 7, 9, 8, 5, 7, 10, 9, 7, 7, 9, 6, 8, 8, 9, 8
0,3
Clear[lst, n, s, f] f[n_]:=Plus@@IntegerDigits[n, 2]; s=0; lst={s}; Do[s+=n; AppendTo[lst, f[s]], {n, 1, 6!, 3}]; lst
nonn,base,easy
Vladimir Orlovsky (4vladimir(AT)gmail.com), Oct 11 2009
Definition shortened, offset set to zero by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 14 2009
approved