OFFSET
1,2
COMMENTS
a(4) = 5 is coprime to a(8) = 8. - David Wasserman, Sep 28 2004
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
PROG
(PARI) used = vector(100); A = vector(80); least = 1; for (i = 1, 40, while (used[least], least = least + 1); A[i + i - 1] = least; used[least] = 1; m = least + 1; while (used[m] || gcd(m, A[i]) > 1, m = m + 1); A[i + i] = m; used[m] = 1); A
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Apr 16 2003
EXTENSIONS
More terms from David Wasserman, Sep 28 2004
STATUS
approved