OFFSET
1,1
COMMENTS
LINKS
Eric Weisstein's World of Mathematics, Partition Function P, Partition Function Q
EXAMPLE
15 is in the sequence because we have:
------------------------------------
number of partitions = 176 (is even)
------------------------------------
15 = 15
14 + 1 = 15
13 + 2 = 15
13 + 1 + 1 = 15
12 + 3 = 15
12 + 2 + 1 = 15
12 + 1 + 1 + 1 = 15
11 + 4 = 15
11 + 3 + 1 = 15
11 + 2 + 2 = 15
11 + 2 + 1 + 1 = 15
11 + 1 + 1 + 1 + 1 = 15
...
------------------------------------------------------
number of partitions into distinct parts = 27 (is odd)
------------------------------------------------------
15 = 15
14 + 1 = 15
13 + 2 = 15
12 + 3 = 15
12 + 2 + 1 = 15
11 + 4 = 15
11 + 3 + 1 = 15
10 + 5 = 15
10 + 4 + 1 = 15
10 + 3 + 2 = 15
...
MATHEMATICA
Select[Range[4500], Mod[PartitionsP[#1], 2] == 0 && Mod[PartitionsQ[#1], 2] == 1 & ]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ilya Gutkovskiy, Dec 31 2016
STATUS
approved