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!)
A337003 a(n) = Sum_{k=1..n, gcd(n,k) = 1} binomial(n,k)^2. 0
1, 4, 18, 32, 250, 72, 3430, 6400, 34506, 29000, 705430, 1254816, 10400598, 8281392, 86567400, 300533760, 2333606218, 2172355848, 35345263798, 68442424000, 332533406646, 554415527952, 8233430727598, 12704658876288, 105035376968750 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(n) is a multiple of n^2 for all n.
LINKS
FORMULA
a(p) = binomial(2*p,p) - 2, where p is prime.
MATHEMATICA
a[n_] := Sum[If[GCD[n, k] == 1, Binomial[n, k]^2, 0], {k, 1, n}]; Table[a[n], {n, 1, 25}]
PROG
(PARI) a(n) = sum(k=1, n, if (gcd(n, k) == 1, binomial(n, k)^2)); \\ Michel Marcus, Aug 12 2020
CROSSREFS
Sequence in context: A363640 A053191 A003474 * A095823 A092116 A083969
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Aug 10 2020
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 15:20 EDT 2024. Contains 371916 sequences. (Running on oeis4.)