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!)
A098936 Numbers n such that the partition function A000041(k) is even and odd the same number of times for 0 <= k <= n. 0

%I

%S 6671,6673,7931,7941,7945,7947,7949,7951,7953,7957,7959,7973,7979,

%T 8113,8117,8125,8127,8135,8139,8141,8183,8193,8195,8199,8201,8205,

%U 8207,8211,8213,8215,8217,8269,8325,8331,8335,8341,8343,8345,8351,8353,8357,8359

%N Numbers n such that the partition function A000041(k) is even and odd the same number of times for 0 <= k <= n.

%D Berndt, Bruce C.; Yee, Ae Ja; Zaharescu, Alexandru New theorems on the parity of partition functions. J. Reine Angew. Math. 566 (2004), 91-109. MR2039324

%t Flatten[Position[Accumulate[Table[If[EvenQ[PartitionsP[n]],1,-1],{n,0,8400}]],_?(#==0&)]]-1 (* _Harvey P. Dale_, Aug 25 2020 *)

%o (PARI) lista(n) = {ne = 0; no = 0; for (i=0, n, if (numbpart(i) % 2, no++, ne++); if (ne == no, print1(i, ", ");););} \\ _Michel Marcus_, Aug 15 2013

%Y Cf. A000041.

%K nonn

%O 1,1

%A _Kevin O'Bryant_, Oct 20 2004

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 January 17 05:13 EST 2022. Contains 350378 sequences. (Running on oeis4.)