|
|
A280291
|
|
Numbers n such that number of partitions of n is odd and number of partitions of n into distinct parts is odd.
|
|
3
|
|
|
0, 1, 5, 7, 12, 35, 51, 77, 92, 145, 155, 210, 222, 287, 301, 330, 345, 376, 392, 425, 442, 477, 495, 610, 672, 737, 805, 852, 876, 1190, 1247, 1335, 1426, 1617, 1717, 1855, 1962, 2035, 2147, 2542, 2625, 2795, 2882, 3197, 3337, 3480, 3626, 3775, 3876, 4030, 4347, 4510, 4565, 4845, 4902
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
7 is in the sequence because we have:
----------------------------------
number of partitions = 15 (is odd)
----------------------------------
7 = 7
6 + 1 = 7
5 + 2 = 7
5 + 1 + 1 = 7
4 + 3 = 7
4 + 2 + 1 = 7
4 + 1 + 1 + 1 = 7
3 + 3 + 1 = 7
3 + 2 + 2 = 7
3 + 2 + 1 + 1 = 7
3 + 1 + 1 + 1 + 1 = 7
2 + 2 + 2 + 1 = 7
2 + 2 + 1 + 1 + 1 = 7
2 + 1 + 1 + 1 + 1 + 1 = 7
1 + 1 + 1 + 1 + 1 + 1 + 1 = 7
-----------------------------------------------------
number of partitions into distinct parts = 5 (is odd)
-----------------------------------------------------
7 = 7
6 + 1 = 7
5 + 2 = 7
4 + 3 = 7
4 + 2 + 1 = 7
|
|
MATHEMATICA
|
Join[{0}, Select[Range[5000], Mod[PartitionsP[#1], 2] == Mod[PartitionsQ[#1], 2] == 1 & ]]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|