OFFSET
1,2
COMMENTS
Sequence is a permutation of the positive integers.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
55 is the 10th Fibonacci number. Among those positive integers not occurring among the first 9 terms of the sequence, 12 is the smallest which is coprime to 55, so a(10) = 12. 10 and 11 also do not occur among the first 9 terms of the sequence, but they are not coprime to 55.
MAPLE
L:= [$1..100]: # for all terms before the first term > 100
for n from 1 do
v:= combinat:-fibonacci(n);
found:= false;
for j from 1 to nops(L) do
if igcd(L[j], v)=1 then
A[n]:= L[j];
L:= subsop(j=NULL, L);
found:= true;
break
fi;
od;
if not found then break fi
od:
seq(A[i], i=1..n-1); # Robert Israel, Jun 26 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Aug 18 2006
EXTENSIONS
Extended by Ray Chandler, Aug 22 2006
STATUS
approved