A338553 Number of integer partitions of n that are either constant or relatively prime.
1, 1, 2, 3, 5, 7, 10, 15, 20, 29, 37, 56, 68, 101, 122, 170, 213, 297, 352, 490, 587, 778, 948, 1255, 1488, 1953, 2337, 2983, 3585, 4565, 5393, 6842, 8123, 10088, 12015, 14865, 17534, 21637, 25527, 31085, 36701, 44583, 52262, 63261, 74175, 88936, 104305, 124754
Offset: 0
Keywords
Examples
The a(1) = 1 through a(7) = 15 partitions: (1) (2) (3) (4) (5) (6) (7) (11) (21) (22) (32) (33) (43) (111) (31) (41) (51) (52) (211) (221) (222) (61) (1111) (311) (321) (322) (2111) (411) (331) (11111) (2211) (421) (3111) (511) (21111) (2221) (111111) (3211) (4111) (22111) (31111) (211111) (1111111)
Crossrefs
Programs
-
Mathematica
Table[Length[Select[IntegerPartitions[n],SameQ@@#||GCD@@#==1&]],{n,0,30}]
Comments