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!)
A348651 Number of ones in the binary expansion of (n!)!. 1
1, 1, 1, 4, 29, 293, 2566, 24844, 259437, 2908263, 35102629, 455204360, 6321171774 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
a(n) = A000120(A000197(n)).
EXAMPLE
a(3) = 4 because (3!)! = 6! = 720 = 1011010000_2 which has 4 ones.
MAPLE
a:= n-> add(i, i=Bits[Split](n!!)):
seq(a(n), n=0..10);
MATHEMATICA
a[n_] := DigitCount[(n!)!, 2, 1]; Array[a, 10, 0] (* Amiram Eldar, Oct 29 2021 *)
PROG
(Python)
from gmpy2 import fac, popcount
def A348651(n): return popcount(fac(fac(n))) # Chai Wah Wu, Oct 28 2021
(PARI) a(n) = hammingweight((n!)!); \\ Michel Marcus, Oct 29 2021
CROSSREFS
Sequence in context: A302609 A181197 A217807 * A360584 A127770 A121630
KEYWORD
nonn,base,more
AUTHOR
Alois P. Heinz, Oct 27 2021
EXTENSIONS
a(11)-a(12) from Chai Wah Wu, Oct 28 2021
STATUS
approved

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 August 19 03:19 EDT 2024. Contains 375284 sequences. (Running on oeis4.)