login
Number of 1's in binary expansion of 5n+4.
0

%I #9 Feb 21 2014 10:26:01

%S 1,2,3,3,2,4,2,4,3,3,4,5,1,3,3,5,3,4,5,4,3,5,4,6,5,2,3,4,2,4,4,6,3,4,

%T 5,5,4,6,3,5,4,4,5,6,3,5,5,7,5,6,7,3,2,4,3,5,4,3,4,5,3,5,5,7,3,4,5,5,

%U 4,6,4,6,5,5,6,7,2,4,4,6,4,5,6,5,4,6,5,7,6,4,5,6,4

%N Number of 1's in binary expansion of 5n+4.

%t DigitCount[#,2,1]&/@(5Range[0,100]+4) (* _Harvey P. Dale_, Jul 05 2011 *)

%K nonn

%O 0,2

%A _N. J. A. Sloane_