A379304 Number of integer partitions of n with a unique prime part.
0, 0, 1, 2, 2, 3, 4, 6, 7, 9, 11, 17, 20, 26, 31, 41, 47, 62, 72, 93, 108, 136, 156, 199, 226, 279, 321, 398, 452, 555, 630, 767, 873, 1051, 1188, 1433, 1618, 1930, 2185, 2595, 2921, 3458, 3891, 4580, 5155, 6036, 6776, 7926, 8883, 10324, 11577, 13421, 15014
Offset: 0
Keywords
Examples
The a(2) = 1 through a(9) = 9 partitions: (2) (3) (31) (5) (42) (7) (62) (54) (21) (211) (311) (51) (43) (71) (63) (2111) (3111) (421) (431) (621) (21111) (511) (4211) (711) (31111) (5111) (4311) (211111) (311111) (42111) (2111111) (51111) (3111111) (21111111)
Programs
-
Mathematica
Table[Length[Select[IntegerPartitions[n],Count[#,_?PrimeQ]==1&]],{n,0,30}]
Comments