login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A343553 a(n) = Sum_{1 <= x_1 <= x_2 <= ... <= x_n = n} gcd(x_1, x_2, ... , x_n). 4
1, 3, 8, 26, 74, 287, 930, 3572, 12966, 49379, 184766, 710712, 2704168, 10427822, 40123208, 155289768, 601080406, 2334740919, 9075135318, 35352194658, 137846990678, 538302226835, 2104098963742, 8233721100024, 32247603765020, 126412458921072, 495918569262798 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A343516(n,n-1).
a(n) = Sum_{d|n} phi(n/d) * binomial(d+n-2, n-1).
a(n) = [x^n] Sum_{k >= 1} phi(k) * x^k/(1 - x^k)^n.
a(n) ~ 2^(2*n - 2) / sqrt(Pi*n). - Vaclav Kotesovec, May 23 2021
EXAMPLE
a(3) = gcd(1,1,3) + gcd(1,2,3) + gcd(1,3,3) + gcd(2,2,3) + gcd(2,3,3) + gcd(3,3,3) = 1 + 1 + 1 + 1 + 1 + 3 = 8.
MATHEMATICA
a[n_] := DivisorSum[n, EulerPhi[n/#] * Binomial[# + n - 2, n-1] &]; Array[a, 30] (* Amiram Eldar, Apr 25 2021 *)
PROG
(PARI) a(n) = sumdiv(n, d, eulerphi(n/d)*binomial(d+n-2, n-1));
CROSSREFS
Sequence in context: A206141 A281972 A355869 * A317852 A306485 A148801
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Apr 19 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)