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

%I #7 Mar 07 2020 07:19:08

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

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

%U 5,5,7,4,5,6,6,5,7,3,5,4,4,5,6,3,5,5,7,5,6,7,5,4,6

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

%t DigitCount[#,2,1]&/@(5*Range[0,120]+1) (* _Harvey P. Dale_, Feb 25 2018 *)

%K nonn

%O 0,2

%A _N. J. A. Sloane_