A367741 Lexicographically earliest infinite sequence of distinct positive numbers such that, for n>3, a(n) has a common factor with a(n-2) but not with a(n-1) or n.
1, 3, 2, 15, 4, 5, 6, 35, 8, 7, 10, 77, 12, 11, 14, 33, 16, 55, 18, 143, 20, 13, 22, 65, 24, 25, 26, 85, 28, 17, 21, 187, 56, 99, 32, 121, 30, 253, 34, 23, 36, 115, 38, 45, 19, 39, 76, 91, 40, 49, 44, 63, 46, 119, 48, 221, 50, 51, 52, 289, 42, 323, 58, 57, 29, 95, 87, 133, 116, 171, 62, 209, 31
Offset: 1
Keywords
Examples
a(4) = 15 as a(2) = 3 which 15 shares a factor with, a(3) = 2 which 15 does not share a factor with, and 15 does not share a factor with n = 4. Also 15 has a prime factor (5) which is not a factor of 4+2 = 6. The later restriction eliminates 9 as a candidate for a(4).
Links
- Scott R. Shannon, Table of n, a(n) for n = 1..10000
- Scott R. Shannon, Image of the first 100000 terms. The green line is a(n) = n.
Comments