A368231 Lexicographically earliest infinite sequence of distinct positive numbers such that, for n>3, a(n) has a common factor with a(n-1) but not with a(n-2) or n.
1, 15, 35, 77, 143, 65, 30, 21, 91, 221, 85, 55, 33, 39, 182, 133, 95, 115, 69, 51, 170, 145, 203, 119, 102, 45, 155, 341, 154, 161, 207, 57, 190, 185, 407, 187, 153, 63, 217, 403, 130, 205, 123, 87, 319, 209, 247, 299, 138, 93, 589, 323, 238, 259, 111, 75, 70, 287, 451, 253, 230, 195, 377
Offset: 1
Keywords
Examples
a(2) = 15 as 15 is the smallest number that is not a prime power and does not have 2 as a factor. a(3) = 35 as a(3) is chosen so it shares a factor with a(2) = 3*5 while not having 3 as a factor; it therefore must be a multiple of 5 while not being a power of 5. The smallest number meeting those criteria is 10, but a(2)*(3+1) = 15*4 = 60, and 10 has no prime factor not in 60, so choosing 10 would mean a(4) would not exist. The next smallest available number is 35. a(4) = 77 as a(4) must be a multiple of 7 but not a power of 7, not a multiple of 2, 3 or 5, while having a prime factor not in 35*(4+1) = 165. The smallest number satisfying these criteria is 77.
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