OFFSET
0,4
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
EXAMPLE
a(20)+a(21) = 20. The largest divisor of 20 which is coprime to 22 is 5. So a(22) = 5.
MATHEMATICA
t[n_, m_] := Last[Select[Divisors[m], GCD[ #, n] == 1 &]]; f[l_List] := Append[l, t[Length[l], l[[ -1]] + l[[ -2]]]]; Nest[f, {1, 1}, 80] (* Ray Chandler, Oct 17 2006 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Oct 11 2006
EXTENSIONS
Extended by Ray Chandler, Oct 17 2006
STATUS
approved