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!)
A339667 Number of nonempty subsets of divisors of n having a common factor > 1. 1
0, 1, 1, 3, 1, 5, 1, 7, 3, 5, 1, 19, 1, 5, 5, 15, 1, 19, 1, 19, 5, 5, 1, 71, 3, 5, 7, 19, 1, 37, 1, 31, 5, 5, 5, 111, 1, 5, 5, 71, 1, 37, 1, 19, 19, 5, 1, 271, 3, 19, 5, 19, 1, 71, 5, 71, 5, 5, 1, 347, 1, 5, 19, 63, 5, 37, 1, 19, 5, 37, 1, 703, 1, 5, 19, 19, 5, 37, 1, 271 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = -Sum_{d|n, d < n} mu(n/d) * (2^tau(d) - 1), where tau = A000005, and mu = A008683.
a(n) = A100587(n) - A076078(n).
a(p) = 1 for p prime.
EXAMPLE
a(12) = 19 subsets: {2}, {3}, {4}, {6}, {12}, {2, 4}, {2, 6}, {2, 12}, {3, 6}, {3, 12}, {4, 6}, {4, 12}, {6, 12}, {2, 4, 6}, {2, 4, 12}, {2, 6, 12}, {3, 6, 12}, {4, 6, 12} and {2, 4, 6, 12}.
MATHEMATICA
Table[-DivisorSum[n, MoebiusMu[n/#] (2^DivisorSigma[0, #] - 1) &, # < n &], {n, 80}]
PROG
(PARI) A339667(n) = -sumdiv(n, d, if(d==n, 0, moebius(n/d)*((2^numdiv(d))-1))); \\ Antti Karttunen, Dec 15 2021
CROSSREFS
Sequence in context: A147088 A346468 A340083 * A322993 A118402 A122383
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Dec 12 2020
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 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)