A103671 Smallest m such that the binary representation of n! does not contain m!.
4, 5, 5, 5, 6, 5, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 7, 5, 6, 5, 6, 5, 6, 5, 5, 5, 6, 6, 6, 5, 7, 6, 6, 6, 6, 6, 7, 6, 6, 5, 6, 6, 6, 6, 6, 6, 5, 6, 7, 6, 6, 5, 6, 6, 6, 6, 6, 6, 5, 6, 6, 6, 6, 6, 7, 6, 6, 7, 6, 6, 6, 6, 6, 6, 7, 6, 6, 6, 6, 7, 6, 6, 6, 6, 7, 6, 6, 7, 7, 6, 6, 6, 7, 6, 6, 7, 6, 6, 6, 7, 6, 7, 6, 6
Offset: 6
Links
Programs
-
Mathematica
q[n_, m_] := StringContainsQ[IntegerString[n!, 2], IntegerString[m!, 2]]; a[n_] := Module[{m = 2}, While[q[n, m], m++]; m]; Array[a, 105, 6] (* Amiram Eldar, Apr 03 2025 *)
Comments