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!)
A317673 Moebius transform of A129502. 3
1, 2, -1, 3, -1, -2, -1, 4, 0, -2, -1, -3, -1, -2, 1, 5, -1, 0, -1, -3, 1, -2, -1, -4, 0, -2, 0, -3, -1, 2, -1, 6, 1, -2, 1, 0, -1, -2, 1, -4, -1, 2, -1, -3, 0, -2, -1, -5, 0, 0, 1, -3, -1, 0, 1, -4, 1, -2, -1, 3, -1, -2, 0, 7, 1, 2, -1, -3, 1, 2, -1, 0, -1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Dirichlet convolution of A209635 and A209229.
LINKS
FORMULA
Multiplicative with a(2^e) = e+1, and if p is an odd prime, a(p) = -1 and a(p^e) = 0 for e >= 2. - Amiram Eldar, Aug 28 2023
MATHEMATICA
a[n_] := Module[{e}, Sum[e = IntegerExponent[d, 2]; If[d == 2^e, MoebiusMu[n/d] Binomial[2 + e, 2], 0], {d, Divisors[n]}]];
a /@ Range[1, 100] (* Jean-François Alcover, Sep 24 2019, from PARI *)
f[p_, e_] := If[e == 1, -1, 0]; f[2, e_] := e+1; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 70] (* Amiram Eldar, Aug 28 2023 *)
PROG
(PARI) a(n)={sumdiv(n, d, my(e=valuation(d, 2)); if(d==1<<e, moebius(n/d) * binomial(2+e, 2), 0))}
CROSSREFS
First column of A129501.
Cf. A129502, A209229, A209635 (Moebius transform of A104117).
Sequence in context: A157226 A156249 A187808 * A317954 A164677 A001511
KEYWORD
sign,easy,mult
AUTHOR
Andrew Howroyd, Aug 03 2018
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 May 8 16:29 EDT 2024. Contains 372340 sequences. (Running on oeis4.)