OFFSET
1,2
LINKS
Simon Bohnen, Extended table of values
Simon Bohnen, A Java program for generating the sequence
Simon Bohnen and other users, Further discussion and proof for the formula
FORMULA
n < k+2: a(n,k) = kn-(n(n-1))/2.
EXAMPLE
Top-left corner of the array:
1 1 1 1 1 1 ...
2 3 3 5 6 7 ...
3 5 6 6 7 7 ...
4 7 9 10 10 11 ...
5 9 12 14 15 15 ...
6 11 15 18 20 21 ...
: : : : : : '.
For n=3 and k=3 the best possible solution is 6, the three sets are:
S1 = {1, 2, 3}
S2 = {1, 4, 5}
S3 = {2, 4, 6}
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Simon Bohnen, May 06 2017
STATUS
approved