A117193 Number of partitions of n into distinct parts with an odd rank.
0, 1, 0, 2, 1, 2, 2, 4, 4, 4, 6, 8, 10, 10, 13, 16, 20, 22, 28, 32, 38, 43, 52, 62, 72, 82, 96, 110, 128, 148, 170, 196, 224, 256, 292, 334, 380, 432, 490, 557, 630, 714, 806, 908, 1022, 1152, 1294, 1456, 1632, 1830, 2049, 2290, 2560, 2860, 3188, 3554, 3958, 4404
Offset: 1
Keywords
Programs
-
Mathematica
a[n_] := Count[IntegerPartitions[n], q_ /; OddQ[First[q] - Length[q]] && Length[q] == Length[Union[q]]]; Array[a, 60] (* Jean-François Alcover, Oct 06 2021 *)