|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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.
|
|
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
|
|
|
|