a(1)=1, a(2)=2. For n >= 3, a(n) is the smallest positive integer not occurring earlier in the sequence such that floor(a(n)/a(n-1)) does not equal floor(a(n-1)/a(n-2)).

A127915

a(1)=1, a(2)=2. For n >= 3, a(n) is the smallest positive integer not occurring earlier in the sequence such that floor(a(n)/a(n-1)) does not equal floor(a(n-1)/a(n-2)).

Terms

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

External references