A295341 The number of partitions of n in which at least one part is a multiple of 3.
0, 0, 0, 1, 1, 2, 4, 6, 9, 14, 20, 29, 41, 57, 78, 106, 142, 189, 250, 327, 425, 549, 705, 900, 1144, 1445, 1819, 2279, 2844, 3534, 4379, 5403, 6648, 8152, 9969, 12152, 14780, 17920, 21682, 26163, 31504, 37842, 45371, 54270, 64800, 77211, 91842, 109031, 129235, 152897
Offset: 0
Keywords
Examples
From _Gus Wiseman_, May 23 2022: (Start) The a(0) = 0 through a(8) = 9 partitions with a part that is a multiple of 3: . . . (3) (31) (32) (6) (43) (53) (311) (33) (61) (62) (321) (322) (332) (3111) (331) (431) (3211) (611) (31111) (3221) (3311) (32111) (311111) (End)
Crossrefs
Programs
-
Mathematica
Table[Length[Select[IntegerPartitions[n],MemberQ[#/3,?IntegerQ]&]],{n,0,30}] (* _Gus Wiseman, May 23 2022 *) Table[Length[Select[IntegerPartitions[n],MatchQ[#,{_,x_,x_,x_,_}]&]],{n,0,30}] (* Gus Wiseman, May 23 2022 *)
Comments