A379842 Numbers that are the sum + product of a unique set of positive integers > 1. Positions of 1 in A379679.
1, 4, 6, 8, 10, 11, 12, 16, 17, 18, 19, 22, 24, 27, 28, 30, 31, 33, 36, 42, 43, 46, 48, 49, 52, 58, 61, 63, 66, 67, 70, 73, 85, 88, 91, 97, 100, 102, 105, 108, 115, 126, 130, 141, 145, 147, 148, 162, 171, 178, 192, 205, 211, 213, 226, 262, 277, 283, 288, 291
Offset: 1
Keywords
Examples
For sum + product = 29 we have two possibilities: {2,9} and {4,5}, so 29 is not in the sequence. For sum + product = 33 we have only {2,3,4}, so 33 is in the sequence.
Crossrefs
Programs
-
Mathematica
nn=100; strfacs[n_]:=If[n<=1,{{}},Join@@Table[Map[Prepend[#,d]&,Select[strfacs[n/d],Min@@#>d&]],{d,Rest[Divisors[n]]}]]; Join@@Position[Table[Length[Select[Join@@Array[strfacs,n],Total[#]+Times@@#==n&]],{n,nn}],1]