A346695 Numbers with more divisors than digits in their binary representation.
6, 12, 18, 20, 24, 28, 30, 36, 40, 42, 48, 54, 56, 60, 66, 70, 72, 78, 80, 84, 88, 90, 96, 100, 102, 104, 105, 108, 110, 112, 114, 120, 126, 132, 140, 144, 150, 156, 160, 162, 168, 176, 180, 192, 196, 198, 200, 204, 208, 210, 216, 220, 224, 225, 228, 234, 240, 252, 260
Offset: 1
Examples
12 has 6 divisors: {1,2,3,4,6,12}. 12 is written in binary as 1100, which has 4 digits. Since 6 > 4, 12 is in the sequence.
Crossrefs
Programs
-
Mathematica
Select[Range[1000], (DivisorSigma[0, #] > Floor[1 + Log2[#]]) &]
-
PARI
isok(m) = numdiv(m) > #binary(m); \\ Michel Marcus, Jul 29 2021
-
Python
from sympy import divisor_count def ok(n): return divisor_count(n) > n.bit_length() print(list(filter(ok, range(1, 261)))) # Michael S. Branicky, Jul 29 2021
Comments