login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A061577
Sequence and first differences (A061578) include all numbers.
5
2, 3, 7, 12, 18, 26, 35, 45, 56, 69, 83, 98, 114, 131, 150, 170, 191, 213, 236, 260, 285, 312, 340, 369, 399, 430, 462, 495, 529, 565, 602, 640, 679, 719, 760, 802, 845, 889, 935, 982, 1030, 1079, 1129, 1180, 1232, 1285, 1339, 1394, 1451, 1509, 1568, 1628
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
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