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!)
A181587 If n is even, a(n) = 0, if n is odd, a(n) = A002321(n), where A002321 is Mertens's function. 1

%I #17 Nov 09 2022 10:06:33

%S 1,0,-1,0,-2,0,-2,0,-2,0,-2,0,-3,0,-1,0,-2,0,-3,0,-2,0,-2,0,-2,0,-1,0,

%T -2,0,-4,0,-3,0,-1,0,-2,0,0,0,-1,0,-3,0,-3,0,-3,0,-3,0,-2,0,-3,0,-2,0,

%U -1,0,-1,0,-2,0,-1,0,0,0,-2,0,-1,0,-3,0,-4,0,-3,0,-2,0,-4,0,-4,0,-4,0,-3,0,-1,0,-2,0,-1,0,0,0,2

%N If n is even, a(n) = 0, if n is odd, a(n) = A002321(n), where A002321 is Mertens's function.

%H Antti Karttunen, <a href="/A181587/b181587.txt">Table of n, a(n) for n = 1..65537</a>

%F a(n) = A000035(n)*A002321(n).

%o (PARI) A181587(n) = if(n%2, sum(k=1, n, moebius(k)), 0); \\ _Antti Karttunen_, Sep 30 2018

%Y Cf. A000035, A002321.

%K sign,look

%O 1,5

%A _Mats Granvik_, Oct 31 2010

%E Definition corrected and more terms by _Antti Karttunen_, Sep 30 2018

%E Incorrect g.f. removed by _Georg Fischer_, Nov 09 2022

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 09:22 EDT 2024. Contains 371905 sequences. (Running on oeis4.)