OFFSET
1,3
LINKS
John Tyler Rascoe, Table of n, a(n) for n = 1..500
EXAMPLE
The 12th term is F(1) + F(5) + F(7) + F(11) = 1 + 5 + 13 + 89 = 108, where F(n) is the n-th Fibonacci number and 1, 5, 7 and 11 are the positive integers <= 12 and relatively prime to 12.
MAPLE
a:= n-> add(`if`(igcd(k, n)>1, 0, combinat[fibonacci](k)), k=1..n):
seq(a(n), n=1..41);
PROG
(PARI)
A070964(n) = {sum(k=1, n, if(gcd(n, k)==1, fibonacci(k)))} \\ John Tyler Rascoe, Feb 03 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Leroy Quet, May 16 2002
STATUS
approved
