login
This site is supported by donations 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

%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 G.f.: 4.64838508*sin(0.52391183*x)-0.831685761*tan(x*3.34422269/2)

%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

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 20 05:25 EDT 2019. Contains 326139 sequences. (Running on oeis4.)