OFFSET
1,3
COMMENTS
From Ivan Neretin, Apr 06 2016: (Start)
a(n) >= n-1.
All terms except a(3) = 2 are odd.
For all n of the form 2^k+1 except 3, a(n) = n.
(End)
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
EXAMPLE
a(7) = gcd(6,1) + gcd(6,1) + gcd(6,2) + gcd(6,3) + gcd(6,5) + gcd(6,9) = 1 + 1 + 2 + 3 + 1 + 3 = 11.
MATHEMATICA
Fold[Append[#1, Total@GCD[#1, #2]] &, {1}, Range@64] (* Ivan Neretin, Apr 06 2016 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, Aug 04 2000
STATUS
approved