OFFSET
1,2
COMMENTS
An Ulam-type sequence - see A002858 for further information.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..500
EXAMPLE
a(8) = 28 = 1 + ... + 7 = 7*8/2, because it is the least number >7 with a unique sum of 7 distinct earlier terms.
a(9) = 49 = 1 + ... + 6 + 28 = 7^2, because it is the least number >28 with a unique sum of 7 distinct earlier terms.
MAPLE
# see A183534 for programs.
CROSSREFS
KEYWORD
nonn
AUTHOR
Jonathan Vos Post and Alois P. Heinz, Jan 05 2011
STATUS
approved