A321936 Number of integer partitions of n containing no 1's, prime powers, or squarefree numbers.
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 4, 0, 1, 0, 3, 0, 2, 0, 3, 1, 1, 0, 7, 0, 2, 0, 5, 0, 5, 0, 7, 1, 3, 0, 12, 0, 4, 2, 10, 1, 8, 0, 14, 2, 6, 0, 22, 1, 10, 3, 20, 1, 15, 0, 26, 5, 12, 2
Offset: 0
Keywords
Examples
The a(56) = 7 partitions: (56) (28,28) (36,20) (44,12) (20,18,18) (24,20,12) (20,12,12,12)
Crossrefs
Programs
-
Mathematica
nn=100; ser=Product[If[n==1||PrimePowerQ[n]||SquareFreeQ[n],1,1/(1-x^n)],{n,nn}]; CoefficientList[Series[ser,{x,0,nn}],x]
Comments