# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a240874 Showing 1-1 of 1 %I A240874 #16 Mar 16 2024 13:21:35 %S A240874 0,1,1,1,1,2,1,2,2,2,2,3,3,3,3,4,4,5,4,5,6,6,7,7,7,8,9,10,10,11,11,12, %T A240874 14,14,15,17,17,18,19,20,23,24,25,26,28,29,31,34,35,37,40,42,44,46,48, %U A240874 51,55,58,61,64,67,70,75,77,82,87,90,96,101,105,111 %N A240874 Number of partitions p of n into distinct parts such that max(p) < 2*min(p). %H A240874 John Tyler Rascoe, Table of n, a(n) for n = 0..200 %F A240874 G.f.: Sum_{i>0} Sum_{j>=i} q^((i/2)*(i+(2*j)-1)) * q_binomial(i-1,j-i). - _John Tyler Rascoe_, Mar 16 2024 %e A240874 a(12) counts these 3 partitions: {12}, {7,5}, {5,4,3}. %t A240874 z = 70; f[n_] := f[n] = Select[IntegerPartitions[n], Max[Length /@ Split@#] == 1 &]; %t A240874 Table[Count[f[n], p_ /; Max[p] < 2*Min[p]], {n, 0, z}] (* this sequence *) %t A240874 Table[Count[f[n], p_ /; Max[p] == 2*Min[p]], {n, 0, z}] (* A241035 *) %t A240874 Table[Count[f[n], p_ /; Max[p] >= 2*Min[p]], {n, 0, z}] (* A241036 *) %t A240874 Table[Count[f[n], p_ /; Max[p] > 2*Min[p]], {n, 0, z}] (* A241037 *) %o A240874 (PARI) %o A240874 p_q(k) = {prod(j=1,k, 1-q^j);} %o A240874 GB_q(N,M)= {p_q(N+M)/(p_q(M)*p_q(N));} %o A240874 A_q(N) = {my(q='q+O('q^N), g=sum(i=1, N, sum(j=i, N-(i*(i+1)/2), q^((i/2)*(i+(2*j)-1)) * GB_q(i-1,j-i)))); %o A240874 concat([0],Vec(g))} %o A240874 A_q(71) \\ _John Tyler Rascoe_, Mar 16 2024 %Y A240874 Cf. A241035, A241036, A241037. %K A240874 nonn,easy %O A240874 0,6 %A A240874 _Clark Kimberling_, Apr 15 2014 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE