a(1)=1; for n > 1, a(n) is the minimal positive integer t not equal to a(1), ..., a(n-1) such that t - a(n-i) is not equal to a(n-i) - a(n-2i) for all 1 <= i < n/2.

A094870

a(1)=1; for n > 1, a(n) is the minimal positive integer t not equal to a(1), ..., a(n-1) such that t - a(n-i) is not equal to a(n-i) - a(n-2i) for all 1 <= i < n/2.

Terms

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

External references