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