OFFSET
1,1
COMMENTS
The lexicographically earliest sequence that begins with 2 and together with its first differences (A030124) contain every positive integer exactly once.
a(n) = A022953(n-1) for 2 < n <= 10000. - Georg Fischer, Oct 19 2018
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
MATHEMATICA
Fold[Append[#1, #1[[#2]] + Complement[Range[Max@#1 + 1], #1][[#2]]] &, {2}, Range[50]] (* Ivan Neretin, Apr 04 2016 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ronald van Eijck (eequalsmcsquare(AT)hotmail.com), May 21 2001
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), Jun 12 2001
STATUS
approved