The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A061577 Sequence and first differences (A061578) include all numbers. 5

%I

%S 2,3,7,12,18,26,35,45,56,69,83,98,114,131,150,170,191,213,236,260,285,

%T 312,340,369,399,430,462,495,529,565,602,640,679,719,760,802,845,889,

%U 935,982,1030,1079,1129,1180,1232,1285,1339,1394,1451,1509,1568,1628

%N Sequence and first differences (A061578) include all numbers.

%C The lexicographically earliest sequence that begins with 2 and together with its first differences (A030124) contain every positive integer exactly once.

%C a(n) = A022953(n-1) for 2 < n <= 10000. - _Georg Fischer_, Oct 19 2018

%H Ivan Neretin, <a href="/A061577/b061577.txt">Table of n, a(n) for n = 1..10000</a>

%t Fold[Append[#1, #1[[#2]] + Complement[Range[Max@#1 + 1], #1][[#2]]] &, {2}, Range[50]] (* _Ivan Neretin_, Apr 04 2016 *)

%Y Cf. A005228, A022953, A061578.

%K nonn,easy

%O 1,1

%A Ronald van Eijck (eequalsmcsquare(AT)hotmail.com), May 21 2001

%E More terms from Larry Reeves (larryr(AT)acm.org), Jun 12 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified May 7 11:32 EDT 2021. Contains 343650 sequences. (Running on oeis4.)