OFFSET
1,2
COMMENTS
The terms appear to follow a pattern similar to the A064413 and A373390, i.e., the terms are concentrated along just three lines of different gradient, and the lower line consists only of primes. In the first 10000 terms the primes appear in their natural order except for a(37) = 19 and a(39) = 17 which are reversed. Many fixed points exist, 2228 in the first 10000 terms, these beginning 1, 12, 16, 18, 24, 32, 40, 48, ... . The sequence is conjectured to be a permutation of the positive integers.
LINKS
Scott R. Shannon, Table of n, a(n) for n = 1..10000
EXAMPLE
a(11) = 5 as 5 is coprime to a(10) = 27 while sharing a factor with a(8) = 15, which itself shares a factor with a(10) = 27. This is also the first term that uses a term other than a(2) = 6 as the previous term with which is shares a factor with.
CROSSREFS
KEYWORD
nonn
AUTHOR
Scott R. Shannon, Jul 15 2024
STATUS
approved
