A350844 Number of strict integer partitions of n with no difference -2.
1, 1, 1, 2, 1, 3, 3, 4, 4, 7, 7, 8, 11, 12, 15, 18, 21, 23, 31, 32, 40, 45, 54, 59, 73, 78, 94, 106, 122, 136, 161, 177, 203, 231, 259, 293, 334, 372, 417, 476, 525, 592, 663, 742, 821, 931, 1020, 1147, 1271, 1416, 1558, 1752, 1916, 2137, 2357, 2613, 2867
Offset: 0
Keywords
Examples
The a(1) = 1 through a(12) = 11 partitions (A..C = 10..12): 1 2 3 4 5 6 7 8 9 A B C 21 32 51 43 62 54 73 65 84 41 321 52 71 63 82 74 93 61 521 72 91 83 A2 81 541 92 B1 432 721 A1 543 621 4321 632 651 821 732 741 921 6321
Links
Crossrefs
Programs
-
Mathematica
Table[Length[Select[IntegerPartitions[n],FreeQ[Differences[#],0|-2]&]],{n,0,30}]