login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Number of partitions of n into nonprime parts where every part appears at least 2 times.
0

%I #6 Oct 03 2024 15:18:35

%S 1,0,1,1,1,1,1,1,2,1,2,2,4,2,4,4,6,4,8,6,11,8,11,11,17,11,19,18,25,20,

%T 32,26,42,32,46,43,63,47,72,66,90,74,110,94,137,115,155,145,203,161,

%U 235,212,283,244,339,298,413,356,472,437,589,496,681,625,810,718,962

%N Number of partitions of n into nonprime parts where every part appears at least 2 times.

%H <a href="/index/Par#part">Index entries for sequences related to partitions</a>

%F G.f.: Product_{k>=1} (1 + x^(2*A018252(k)) / (1 - x^A018252(k))).

%e a(12) = 4 because we have [6, 6], [4, 4, 4], [4, 4, 1, 1, 1, 1] and [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1].

%t nmax = 66; CoefficientList[Series[Product[1 + Boole[!PrimeQ[k]] x^(2 k)/(1 - x^k), {k, 1, nmax}], {x, 0, nmax}], x]

%t Table[Count[IntegerPartitions[n],_?(NoneTrue[#,PrimeQ]&&Min[Length/@Split[#]]>1&)],{n,0,70}] (* _Harvey P. Dale_, Oct 03 2024 *)

%Y Cf. A002095, A007690, A018252, A161077, A339218.

%K nonn

%O 0,9

%A _Ilya Gutkovskiy_, Nov 27 2020