login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A093318 a(n) = number of positive divisors k of n where mu(k) = 1 and mu(n/k) = -1. 1
0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 4, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 4, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 4, 1, 1, 0, 4, 1, 0, 1, 0, 1, 1, 0, 4, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,30
LINKS
FORMULA
4*a(n) + Sum_{k|n} mu(k)*mu(n/k) = Product_{p|n} e(p, n), where the product is over the distinct primes dividing n; e(p, n) = 2 if p|n but p^2 does not divide n; e(p, n) = 1 if p^2|n but p^3 does not divide n; e(p, n) = 0 if p^3|n.
MATHEMATICA
a[n_] := DivisorSum[n, 1 &, MoebiusMu[#] == 1 && MoebiusMu[n/#] == -1 &]; Array[a, 100] (* Amiram Eldar, Aug 29 2023 *)
PROG
(PARI) A093318(n) = sumdiv(n, d, ((1==moebius(d))&&((-1)==moebius(n/d)))); \\ Antti Karttunen, Jul 27 2017
CROSSREFS
Cf. A008683 (mu).
Sequence in context: A365952 A324803 A320742 * A255329 A365949 A127560
KEYWORD
nonn,easy
AUTHOR
Leroy Quet, Apr 26 2004
EXTENSIONS
More terms from Pab Ter (pabrlos(AT)yahoo.com), May 24 2004
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)