A379305 Number of strict integer partitions of n with a unique prime part.
0, 0, 1, 2, 1, 1, 2, 3, 3, 3, 3, 6, 8, 8, 8, 10, 12, 17, 18, 18, 22, 28, 30, 36, 40, 44, 52, 62, 67, 78, 87, 97, 113, 129, 137, 156, 177, 200, 227, 251, 271, 312, 350, 382, 425, 475, 521, 588, 648, 705, 785, 876, 957, 1061, 1164, 1272, 1411, 1558, 1693, 1866
Offset: 0
Keywords
Examples
The a(2) = 1 through a(12) = 8 partitions (A=10, B=11): (2) (3) (31) (5) (42) (7) (62) (54) (82) (B) (93) (21) (51) (43) (71) (63) (541) (65) (A2) (421) (431) (621) (631) (74) (B1) (83) (642) (92) (651) (821) (741) (831) (921)
Programs
-
Mathematica
Table[Length[Select[IntegerPartitions[n],UnsameQ@@#&&Count[#,_?PrimeQ]==1&]],{n,0,30}]