OFFSET
1,4
LINKS
Hugo Pfoertner, Table of n, a(n) for n = 1..10000
FORMULA
For odd n, a(n) = 1. For even n, a(n) is either n/2 or smaller.
EXAMPLE
For n = 12, gcd(12, binomial(12, 6)) = gcd(12, 924) = 12, so a(12) = 1.
MAPLE
swing := n -> n!/iquo(n, 2)!^2: seq(n/igcd(n, swing(n)), n=1..92); # Peter Luschny, May 16 2013
MATHEMATICA
Flatten[Table[{1, n/GCD[n, Binomial[n, n/2]]}, {n, 2, 100, 2}]] (* Alonso del Arte, May 17 2013 *)
PROG
(PARI) a(n) = n/gcd(n, binomial(n, n\2)); \\ Michel Marcus, Mar 22 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Nov 13 2000
EXTENSIONS
Offset changed to 1 by Peter Luschny, May 16 2013
STATUS
approved