A350842 Number of integer partitions of n with no difference -2.
1, 1, 2, 3, 4, 6, 9, 12, 16, 24, 30, 40, 54, 69, 89, 118, 146, 187, 239, 297, 372, 468, 575, 711, 880, 1075, 1314, 1610, 1947, 2359, 2864, 3438, 4135, 4973, 5936, 7090, 8466, 10044, 11922, 14144, 16698, 19704, 23249, 27306, 32071, 37639, 44019, 51457, 60113
Offset: 0
Keywords
Examples
The a(1) = 1 through a(7) = 12 partitions: (1) (2) (3) (4) (5) (6) (7) (11) (21) (22) (32) (33) (43) (111) (211) (41) (51) (52) (1111) (221) (222) (61) (2111) (321) (322) (11111) (411) (511) (2211) (2221) (21111) (3211) (111111) (4111) (22111) (211111) (1111111)
Links
Crossrefs
Programs
-
Mathematica
Table[Length[Select[IntegerPartitions[n],FreeQ[Differences[#],-2]&]],{n,0,30}]