OFFSET
1,2
EXAMPLE
The 6th Fibonacci number is 8. Of the first 5 terms, only terms a(1)=1 and a(3)=3 are coprime to 8. So a(6) = a(5) + 1 + 3 = 22.
MAPLE
with(combinat): a[1] := 1: for n from 2 to 30 do s := 0: for j to n-1 do if gcd(a[j], fibonacci(n)) = 1 then s := s+a[j] else s := s end if end do: a[n] := a[n-1]+s end do: seq(a[n], n = 1 .. 30); # Emeric Deutsch, Jul 17 2007
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jul 15 2007
EXTENSIONS
More terms from Emeric Deutsch and Joshua Zucker, Jul 17 2007
STATUS
approved