%I #12 May 02 2017 15:32:29
%S 1,2,3,4,5,15,25,26,27,28,29,35,43,45,165,171,172,174,180,181,328,333,
%T 338,339,340,341,493,499,500,647,652,657,658,659,660,661,662,663,815,
%U 818,819,971,1127,1137,1138,1139,1140,1141,1142
%N An Ulam-type sequence: a(n) = n if n<=5; for n>5, a(n) = least number > a(n-1) which is a unique sum of 5 distinct earlier terms.
%C An Ulam-type sequence - see A002858 for further information.
%H Alois P. Heinz, <a href="/A183528/b183528.txt">Table of n, a(n) for n = 1..1000</a>
%H <a href="/index/U#Ulam_num">Index entries for Ulam numbers</a>
%e a(6) = 15 = 1 + 2 + 3 + 4 + 5 = 5*6/2, because it is the least number >5 with a unique sum of 5 distinct earlier terms.
%e a(7) = 25 = 1 + 2 + 3 + 4 + 15 = 5^2, because it is the least number >15 with a unique sum of 5 distinct earlier terms.
%p # see A183534 for programs.
%Y Column k=5 of A183534.
%Y Cf. A002858, A007086, A183527-A183533, A135737.
%K nonn
%O 1,2
%A _Jonathan Vos Post_ and _Alois P. Heinz_, Jan 05 2011