OFFSET
1,4
COMMENTS
The value of a(1) = 1 is arbitrary. a(1) can be any integer and the rest of the sequence would remain unchanged.
EXAMPLE
a(1)+11 = 12 is coprime to 1; a(5)+11 = 12 is coprime to 5; and a(8)+11 = 17 is coprime to 8. These 3 are the only cases where (a(k)+11) is coprime to k, for 1 <=k <=10. So a(11) = 3.
MATHEMATICA
f[l_List] := Block[{n = Length[l] + 1}, Append[l, Count[Table[GCD[l[[k]] + n, k], {k, n - 1}], 1]]]; Nest[f, {1}, 74] (* Ray Chandler, Jan 22 2007 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jan 13 2007
EXTENSIONS
Extended by Ray Chandler, Jan 22 2007
STATUS
approved