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