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..700
EXAMPLE
a(7) = 21 = 1 + ... + 6 = 6*7/2, because it is the least number >6 with a unique sum of 6 distinct earlier terms.
a(8) = 36 = 1 + ... + 5 + 21 = 6^2, because it is the least number >21 with a unique sum of 6 distinct earlier terms.
MAPLE
# see A183534 for programs.
CROSSREFS
KEYWORD
nonn
AUTHOR
Jonathan Vos Post and Alois P. Heinz, Jan 05 2011
STATUS
approved