login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A071425 Total number of 1-s in binary representation of all factorials from 1 to n. 1

%I #21 Jun 27 2023 09:24:54

%S 1,2,4,6,10,14,20,26,32,43,50,62,74,86,104,122,144,167,184,206,231,

%T 259,290,319,349,384,422,464,504,552,594,636,682,733,789,840,898,957,

%U 1021,1084,1150,1214,1285,1359,1429,1506,1587,1676,1763,1852,1942,2030,2124

%N Total number of 1-s in binary representation of all factorials from 1 to n.

%H Harvey P. Dale, <a href="/A071425/b071425.txt">Table of n, a(n) for n = 1..1000</a>

%F a(n) = Sum_{i=1..n} A079584(i).

%t s=0; Do[s=s+Apply[Plus, IntegerDigits[n!, 2]]; Print[s], {n, 1, 128}]

%t Accumulate[DigitCount[Range[60]!,2,1]] (* _Harvey P. Dale_, Apr 18 2014 *)

%Y Cf. A000142, A000788.

%Y Partial sums of A079584 starting at index 1.

%K base,easy,nonn

%O 1,2

%A _Labos Elemer_, May 27 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 12:44 EDT 2024. Contains 371913 sequences. (Running on oeis4.)