a(1)=1; for n>1, a(n) is the smallest positive integer not occurring earlier in the sequence such that |a(n)-a(n-1)| does not divide a(n).

A113966

a(1)=1; for n>1, a(n) is the smallest positive integer not occurring earlier in the sequence such that |a(n)-a(n-1)| does not divide a(n).

Terms

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

External references