login
A157605
a(2)=1. a(n) = the largest integer coprime to a(n-1) and less than the n-th Fibonacci number.
2
1, 1, 2, 3, 7, 12, 19, 33, 53, 88, 141, 232, 375, 608, 985, 1596, 2581, 4180, 6763, 10945, 17709, 28655, 46367, 75024, 121391, 196417, 317809, 514228, 832037, 1346268, 2178307, 3524577, 5702885, 9227464, 14930349, 24157816, 39088167, 63245984
OFFSET
2,3
MATHEMATICA
a[n_] := a[n] = Block[{k = Fibonacci@n - 1}, While[ GCD[k, a[n - 1]] > 1, k-- ]; k]; a[1] = a[2] = 1; Table[ a[n], {n, 2, 40}] (* Robert G. Wilson v, May 04 2009 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Mar 02 2009
EXTENSIONS
More terms from Robert G. Wilson v, May 04 2009
STATUS
approved