A379840 Numbers that are the sum + product of a unique multiset of positive integers > 1.
1, 4, 6, 10, 11, 12, 15, 16, 17, 18, 22, 27, 28, 30, 31, 43, 52, 58, 61, 67, 70, 73, 91, 97, 100, 102, 108, 115, 130, 145, 147, 148, 162, 165, 171, 217, 262, 277, 283, 291, 361, 430, 481, 508, 577, 633, 652, 682, 763, 1093, 1137, 1201, 1513, 1705, 2257, 2401, 2653, 3133, 4123, 5113, 5905
Offset: 1
Keywords
Examples
The only multiset with no 1's and sum + product = 165 is {2,3,5,5}, so 165 is in the sequence.
Crossrefs
Arrays counting multisets by sum and product:
Counting and ranking multisets by comparing sum and product:
A318950 counts factorizations by sum.
Programs
-
Mathematica
facs[n_]:=If[n<=1,{{}},Join@@Table[Map[Prepend[#,d]&, Select[facs[n/d],Min@@#>=d&]],{d,Rest[Divisors[n]]}]]; Join@@Position[Table[Length[Select[Join@@Array[facs,n], Total[#]+Times@@#==n&]],{n,100}],1]
Extensions
More terms from Jinyuan Wang, Jan 12 2025