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.

A320056 Heinz numbers of product-sum knapsack partitions.

This page as a plain text file.
%I A320056 #7 Oct 05 2018 18:47:13
%S A320056 1,3,5,7,11,13,15,17,19,21,23,25,29,31,33,35,37,39,41,43,47,49,51,53,
%T A320056 55,57,59,61,65,67,69,71,73,77,79,83,85,87,89,91,93,95,97,101,103,107,
%U A320056 109,111,113,115,119,121,123,127,129,131,133,137,139,141,143
%N A320056 Heinz numbers of product-sum knapsack partitions.
%C A320056 A product-sum knapsack partition is a finite multiset m of positive integers such that every product of sums of parts of a multiset partition of any submultiset of m is distinct.
%C A320056 The Heinz number of an integer partition (y_1, ..., y_k) is prime(y_1) * ... * prime(y_k).
%C A320056 Differs from A320055 in having 245, 455, 847, ... and lacking 2, 845, ....
%e A320056 A complete list of products of sums of multiset partitions of submultisets of the partition (5,5,4) is:
%e A320056            () = 1
%e A320056           (4) = 4
%e A320056           (5) = 5
%e A320056         (4+5) = 9
%e A320056         (5+5) = 10
%e A320056       (4+5+5) = 14
%e A320056       (4)*(5) = 20
%e A320056     (4)*(5+5) = 40
%e A320056       (5)*(5) = 25
%e A320056     (5)*(4+5) = 45
%e A320056   (4)*(5)*(5) = 100
%e A320056 These are all distinct, and the Heinz number of (5,5,4) is 847, so 847 belongs to the sequence.
%t A320056 heinzWt[n_]:=If[n==1,0,Total[Cases[FactorInteger[n],{p_,k_}:>k*PrimePi[p]]]];
%t A320056 facs[n_]:=If[n<=1,{{}},Join@@Table[Map[Prepend[#,d]&,Select[facs[n/d],Min@@#>=d&]],{d,Rest[Divisors[n]]}]];
%t A320056 Select[Range[100],UnsameQ@@Table[Times@@heinzWt/@f,{f,Join@@facs/@Divisors[#]}]&]
%Y A320056 Cf. A001970, A056239, A066739, A108917, A112798, A292886, A299702, A301899, A318949, A319318, A319913.
%Y A320056 Cf. A267597, A320052, A320053, A320054, A320055, A320057, A320058.
%K A320056 nonn
%O A320056 1,2
%A A320056 _Gus Wiseman_, Oct 04 2018