OFFSET
0,3
COMMENTS
a(i)+a(j) and a(j)+a(i) are considered to be the same sum for all indices i and j.
EXAMPLE
a(1) is the number of repeating sums made from [0]. No sums can be made from this because 0 is not being added to anything. So a(1) = 0.
a(2) is the number of repeating sums made from [0,0] + [0,0]. The possible sums are 0+0, 0+0, and 0+0, so a(2) = 2.
a(3) is the number of repeating sums made from [0,0,2] + [0,0,2] + [0,0,2]. The possible sums are 0+0+0, 0+0+0, 0+0+2, 0+0+0, 0+0+2, 0+2+2, 0+0+0, 0+0+2, 0+2+2, and 2+2+2. There are 6 repeating sums so a(3) = 6.
a(4) is the number of repeating sums made from [0,0,2,6] + [0,0,2,6] + [0,0,2,6] + [0,0,2,6]. There are 23 repeating sums, so a(4) = 23.
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Derek Orr, Nov 26 2014
STATUS
approved