OFFSET
1,1
COMMENTS
Numbers whose prime factorization has at least one exponent that has at least two zeros in its binary representation (A158582), or at least two exponents that are not of the form 2^k-1, with k >= 1 (A062289).
The asymptotic density of this sequence is 1 - d * (1 + Sum_{p prime} (Sum_{k>=0} 1/p^(3*2^k-1))/(1 + Sum_{k>=1} 1/p^(2^k-1))) = 0.07306380398261191432..., where d = A327839.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
f[p_, e_] := 2^DigitCount[e, 2, 1]/(e + 1); q[1] = False; q[n_] := Times @@ f @@@ FactorInteger[n] < 1/2; Select[Range[800], q]
PROG
(PARI) is(n) = {my(f = factor(n)); vecprod(apply(x -> (1 << hammingweight(x)) / (x+1), f[, 2])) < 1/2; }
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Nov 01 2024
STATUS
approved
