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