A140105 Trailing zeros removed from n! in binary.
1, 1, 1, 11, 11, 1111, 101101, 100111011, 100111011, 101100010011, 11011101011111, 100110000100010101, 1110010001100111111, 10111001100101000110011, 10100010011000011101100101, 100110000011101110111011101011, 100110000011101110111011101011
Offset: 0
Keywords
Examples
a(3)=11 because 3! in binary is 110, which is 11 when the zero is removed.
Links
- Robert Israel, Table of n, a(n) for n = 0..192
Programs
-
Maple
seq(convert(n!/2^padic:-ordp(n!,2),binary), n=0..30); # Robert Israel, May 01 2019
-
Mathematica
a[n_]:=FromDigits[Drop[IntegerDigits[n!,2],-IntegerExponent[n!,2]]];Array[a,17,0] (* James C. McMahon, Jul 04 2025 *)
Formula
Extensions
a(13)-a(16) from James C. McMahon, Jul 04 2025