A379543 Least number x such that there are exactly n multisets of positive integers > 1 with sum + product = x. Position of first appearance of n in A379669.
2, 1, 8, 14, 24, 69, 84, 76, 59, 179, 195, 159, 314, 449, 384, 984, 467, 359, 909, 744, 839
Offset: 0
Examples
We have a(5) = 69 due to the following five multisets: {4,13}, {6,9}, {2,2,13}, {2,4,7}, {2,2,2,7}.
Crossrefs
Programs
-
Mathematica
facs[n_]:=If[n<=1,{{}},Join@@Table[Map[Prepend[#,d]&,Select[facs[n/d],Min@@#>=d&]],{d,Rest[Divisors[n]]}]]; mnrm[s_]:=If[Min@@s==1,mnrm[DeleteCases[s-1,0]]+1,0]; s=Table[Length[Select[Join@@Array[facs,n],Total[#]+Times@@#==n&]],{n,100}]; Table[Position[s,k-1][[1,1]],{k,mnrm[s+1]}]
Comments