login
A383575
Characteristic function of numbers of the form k = m^e, where m is squarefree and (-1)^omega(k) = mu(e).
3
1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1
OFFSET
1
COMMENTS
Characteristic function of A383016.
a(n) = 0 if any two exponents in the prime factorization of n differ.
It follows from the definition that e is also squarefree.
LINKS
FORMULA
a(n) = A383576(n) + A382883(n).
Dirichlet g.f.: 1 + (1/2) * Sum_{k>=1} mu(k)^2 * (zeta(k*s)/zeta(2*k*s) - 1) + mu(k) * (1/zeta(k*s) - 1).
MAPLE
isA384667 := n -> local p; is(1 >= nops({seq(p[2], p in ifactors(n)[2])})):
isA383575 := n -> n = 1 or(isA384667(n) and isA385055(n)):
A383575 := n -> ifelse(isA383575(n), 1, 0):
seq(A383575(n), n = 1..86); # Peter Luschny, Jun 16 2025
MATHEMATICA
a[n_] := Boole[fi = FactorInteger[n]; Equal@@fi[[All, 2]] && (-1)^PrimeNu[n] == MoebiusMu[fi[[1, 2]]]]; Array[a, 86]
KEYWORD
nonn
AUTHOR
Friedjof Tellkamp, Jun 14 2025
STATUS
approved