A self-generating sequence: a(1)=1, a(2)=2, a(n+1) chosen so that a(n+1)-a(n-1) is the first number not obtainable as a(j)-a(i) for 1<=i<j<=n.

A001149

A self-generating sequence: a(1)=1, a(2)=2, a(n+1) chosen so that a(n+1)-a(n-1) is the first number not obtainable as a(j)-a(i) for 1<=i<j<=n.

Terms

    a(0) =1a(1) =2a(2) =3a(3) =5a(4) =8a(5) =13a(6) =17a(7) =26a(8) =34a(9) =45a(10) =54a(11) =67a(12) =81a(13) =97a(14) =115a(15) =132a(16) =153a(17) =171a(18) =198a(19) =228a(20) =256a(21) =288a(22) =323a(23) =357a(24) =400a(25) =439a(26) =488a(27) =530a(28) =581a(29) =627

External references