OFFSET
1,1
COMMENTS
The asymptotic density of this sequence is Sum_{k>=1} (Product_{i=1..k-1} (1 - 1/prime(i)) * Sum_{j>=4} (mu(j-1)^2 - mu(j)^2)/prime(k)^j) = 0.03904378342010..., where mu is the Möbius function (A008683). - Amiram Eldar, Apr 26 2025
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MAPLE
with(NumberTheory):
espf := n -> ifelse(n = 1, 1, ifactors(n)[2][1][2]): # modified A067029
isA383264 := n -> is(Moebius(espf(n)) = 0):
select(isA383264, [seq(1..1300)]); # Peter Luschny, Jun 19 2025
MATHEMATICA
Select[Range[2, 1296], ! SquareFreeQ@ FactorInteger[#][[1, 2]] &] (* Michael De Vlieger, Apr 25 2025 *)
PROG
(SageMath)
def vSPD(n: int) -> int: return factor(n)[0][1]
def isA383264(n: int) -> bool: return not is_squarefree(vSPD(n))
print([n for n in range(2, 1300) if isA383264(n)])
(PARI) isok(k) = if (k>1, !issquarefree(factor(k)[1, 2])); \\ Michel Marcus, Apr 25 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Peter Luschny, Apr 25 2025
STATUS
approved
