a(n) is the smallest positive integer not yet in the sequence with gcd(n,a(n)) > 1 but a(n) != n; a(1) = 1 by convention.
1, 4, 6, 2, 10, 3, 14, 12, 15, 5, 22, 8, 26, 7, 9, 18, 34, 16, 38, 24, 27, 11, 46, 20, 30, 13
2 seqfan posts
Wed Apr 8 00:55:37 CEST 2009 [seqfan] Re: Symmetric Relations and Self-Inverse Permutations