a(1)=1 and, for n>1, a(n) is the smallest positive integer such that the absolute difference |a(n)-a(n-1)| has not occurred previously.

A080427

a(1)=1 and, for n>1, a(n) is the smallest positive integer such that the absolute difference |a(n)-a(n-1)| has not occurred previously.

Terms

    a(0) =1a(1) =1a(2) =2a(3) =4a(4) =1a(5) =5a(6) =10a(7) =1a(8) =7a(9) =14a(10) =1a(11) =9a(12) =19a(13) =1a(14) =12a(15) =24a(16) =1a(17) =15a(18) =30a(19) =1a(20) =17a(21) =34a(22) =1a(23) =20a(24) =40a(25) =1a(26) =22a(27) =44a(28) =1a(29) =25

External references