cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A244515 Number of partitions of n where the minimal multiplicity of any part is 2.

This page as a plain text file.
%I A244515 #19 Jul 04 2019 10:27:56
%S A244515 0,1,0,1,0,2,1,4,2,6,4,9,6,16,9,23,18,34,27,51,40,75,63,103,90,152,
%T A244515 130,208,191,286,267,402,368,546,518,730,709,998,954,1322,1305,1751,
%U A244515 1740,2330,2299,3056,3074,3968,4031,5202,5249,6721,6877,8642,8888,11147,11432,14248,14747,18097,18838,23093,23938,29186,30489
%N A244515 Number of partitions of n where the minimal multiplicity of any part is 2.
%H A244515 Joerg Arndt and Alois P. Heinz, <a href="/A244515/b244515.txt">Table of n, a(n) for n = 1..1000</a>
%e A244515 From _Gus Wiseman_, Jul 03 2019: (Start)
%e A244515 The a(2) = 1 through a(12) = 9 partitions are the following (empty columns not shown). The Heinz numbers of these partitions are given by A325240.
%e A244515   11  22  33    22111  44      33111    55        33311      66
%e A244515           2211         3311    2211111  3322      44111      4422
%e A244515                        22211            4411      3311111    5511
%e A244515                        221111           222211    221111111  33222
%e A244515                                         331111               332211
%e A244515                                         22111111             441111
%e A244515                                                              2222211
%e A244515                                                              33111111
%e A244515                                                              2211111111
%e A244515 (End)
%p A244515 b:= proc(n, i, k) option remember; `if`(n=0, 1, `if`(i<1, 0,
%p A244515       b(n, i-1, k) +add(b(n-i*j, i-1, k), j=max(1, k)..n/i)))
%p A244515     end:
%p A244515 a:= n-> b(n$2, 2) -b(n$2, 3):
%p A244515 seq(a(n), n=1..80);
%t A244515 b[n_, i_, k_] := b[n, i, k] = If[n == 0, 1, If[i < 1, 0, b[n, i - 1, k] + Sum[b[n - i*j, i - 1, k], {j, Max[1, k], n/i}]]];
%t A244515 a[n_] := b[n, n, 2] - b[n, n, 3];
%t A244515 Array[a, 80] (* _Jean-François Alcover_, May 01 2018, translated from Maple *)
%t A244515 Table[Length[Select[IntegerPartitions[n],Min@@Length/@Split[#]==2&]],{n,0,30}] (* _Gus Wiseman_, Jul 03 2019 *)
%Y A244515 Column k = 2 of A243978.
%Y A244515 Cf. A000041, A007690, A008284, A116608, A325240, A325242.
%K A244515 nonn
%O A244515 1,6
%A A244515 _Joerg Arndt_ and _Alois P. Heinz_, Jun 29 2014