a(1)=1, a(2)=2; a(n) = the smallest positive integer not occurring earlier in the sequence such that gcd(a(n), a(n-1)) does not equal gcd(a(n-1), a(n-2)).
A127202
a(1)=1, a(2)=2; a(n) = the smallest positive integer not occurring earlier in the sequence such that gcd(a(n), a(n-1)) does not equal gcd(a(n-1), a(n-2)).
Terms
- a(0) =1a(1) =2a(2) =4a(3) =3a(4) =6a(5) =5a(6) =10a(7) =7a(8) =14a(9) =8a(10) =9a(11) =12a(12) =11a(13) =22a(14) =13a(15) =26a(16) =15a(17) =18a(18) =16a(19) =17a(20) =34a(21) =19a(22) =38a(23) =20a(24) =21a(25) =24a(26) =23a(27) =46a(28) =25a(29) =30
External references
- oeis: A127202