OFFSET
1,2
COMMENTS
Probably a permutation of the positive integers.
This is a permutation iff, infinitely often, gcd(n, a(n)) = 1. Through n = 1000, gcd(n, a(n)) = 1 612 times, which is consistent with the natural conjecture that this is true with density 6/Pi^2 ~ 0.6079.... - Franklin T. Adams-Watters, Nov 28 2006
LINKS
Franklin T. Adams-Watters, Table of n, a(n) for n = 1..1000
MATHEMATICA
a[1] = 1; a[n_] := a[n] = Complement[ Range[250], Table[a[i], {i, n - 1}]][[GCD[n - 1, a[n - 1]]]]; Table[ a[n], {n, 60}] (* Robert G. Wilson v, Jan 10 2005 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jan 06 2005
EXTENSIONS
More terms from Robert G. Wilson v, Jan 10 2005
STATUS
approved