OFFSET
1,1
COMMENTS
Numbers divisible by a prime cubed or two distinct primes squared. - Charles R Greathouse IV, Jun 07 2013
Equals A013929 \ A060687. The asymptotic density of this sequence is 1 - A059956 - A271971 = 0.1913171761... - Amiram Eldar, Nov 07 2020
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
MAPLE
with(numtheory): for n from 1 to 800 do if 2^nops(ifactors(n)[2])<=tau(n)-2^nops(ifactors(n)[2]) then printf(`%d, `, n) fi; od:
MATHEMATICA
Select[Range[300], Function[n, # <= DivisorSigma[0, n] - # &@ DivisorSum[n, 1 &, CoprimeQ[#, n/#] &]]] (* or *)
Select[Range[300], Or[Count[#, p_ /; Last@ p >= 2] >= 2, Count[#, p_ /; Last@ p >= 3] == 1] &@ FactorInteger@ # &] (* Michael De Vlieger, Aug 01 2017 *)
PROG
(PARI) is(n)=my(f=vecsort(factor(n)[, 2], , 4)); #f && (f[1]>2 || (#f>1 && f[2]>1)) \\ Charles R Greathouse IV, Jun 07 2013
(PARI) is(n)=factorback(factor(n)[, 2]) > 2 \\ Charles R Greathouse IV, Aug 25 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from James A. Sellers, Jun 20 2000
STATUS
approved