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

A113963

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

Terms

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

External references