A139329 a(n) = (factorial of the number of 0's in the binary expansion of n).
1, 1, 1, 1, 2, 1, 1, 1, 6, 2, 2, 1, 2, 1, 1, 1, 24, 6, 6, 2, 6, 2, 2, 1, 6, 2, 2, 1, 2, 1, 1, 1, 120, 24, 24, 6, 24, 6, 6, 2, 24, 6, 6, 2, 6, 2, 2, 1, 24, 6, 6, 2, 6, 2, 2, 1, 6, 2, 2, 1, 2, 1, 1, 1, 720, 120, 120, 24, 120, 24, 24, 6, 120, 24, 24, 6, 24, 6, 6, 2, 120, 24, 24, 6, 24, 6, 6, 2, 24, 6, 6, 2, 6, 2, 2, 1, 120
Offset: 0
Links
Crossrefs
Programs
-
Mathematica
a[n_] := DigitCount[n, 2, 0]!; Array[a, 100, 0] (* Amiram Eldar, Jul 29 2023 *)
-
PARI
a(n) = (#binary(n)-hammingweight(n))!; \\ Michel Marcus, Oct 24 2017
Formula
Extensions
Locations of the name and the formula changed, more terms from Antti Karttunen, Oct 24 2017
Comments