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!)
A299406 Dirichlet g.f.: Sum_{n>0} a(n)/n^s = (zeta(s)*zeta(6*s))/(zeta(2*s)*zeta(3*s)). 5
1, 1, 1, 0, 1, 1, 1, -1, 0, 1, 1, 0, 1, 1, 1, -1, 1, 0, 1, 0, 1, 1, 1, -1, 0, 1, -1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, -1, 1, 1, 1, 0, 0, 1, 1, -1, 0, 0, 1, 0, 1, -1, 1, -1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, -1, -1, 1, 1, 0, 1, 1, 1, -1, 1, 0, 1, 0, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) is multiplicative with a(p^e)=(-1)^(e mod 3 + e mod 6) if e mod 3 < 2, otherwise 0, p prime and e >= 0.
Dirichlet inverse b(n) is multiplicative with b(p^e) = (-1)^e if e < 3, otherwise 0, p prime and e >= 0.
Sum_{d|n} a(d)*A005361(n/d) = A000005(n).
Conjecture: a(n) = A008836(n) * A210826(n).
Sum_{k=1..n} a(k) ~ 2*n*Pi^4/(315*Zeta(3)). - Vaclav Kotesovec, Feb 08 2019
MATHEMATICA
f[e_] := If[Mod[e, 3] < 2, (-1)^(Mod[e, 3] + Mod[e, 6]), 0];
a[n_] := a[n] = Times @@ (f /@ FactorInteger[n][[All, 2]]);
Array[a, 100] (* Jean-François Alcover, Feb 26 2018 *)
PROG
(PARI) A299406(n) = { my(es = factor(n)[, 2]); factorback(apply(e -> if(2==(e%3), 0, (-1)^((e%3)+(e%6))), es)); }; \\ Antti Karttunen, Jul 29 2018
CROSSREFS
Sequence in context: A307425 A210826 A307421 * A287769 A267866 A175087
KEYWORD
sign,mult
AUTHOR
Werner Schulte, Feb 20 2018
EXTENSIONS
Name clarified by Andrey Zabolotskiy, Dec 11 2023
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 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)