OFFSET
2,1
COMMENTS
Only the terms a(2)..a(26) are identical to sequence A256966.
Values a(n) found by exhaustive search by a Rexx program.
LINKS
Jörg Zurkirchen, Table of n, a(n) for n = 2..240
Jörg Zurkirchen, Table of optimum solutions for n = 2..240
EXAMPLE
For n = 10, the optimum set of integers is {10, 9, 8, 6, 3} and thus a(10) = 36. The 10 pair sums {19, 18, 17, 16, 15, 14, 13, 12, 11, 9} are all different.
MATHEMATICA
Array[Max[Total /@ Select[Rest@ Subsets@ Range@ #, Length@ Union[Total /@ #] == Length[#] &@ Select[Union[Sort /@ Tuples[#, 2]], UnsameQ @@ # &] &]] &, 15, 2] (* Michael De Vlieger, Jan 21 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jörg Zurkirchen, Jan 11 2017
STATUS
approved