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!)
A056059 GCD of largest square and squarefree part of central binomial coefficients. 11
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 3, 6, 2, 1, 1, 1, 3, 3, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 6, 3, 1, 1, 1, 2, 3, 6, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 2, 1, 1, 1, 1, 2, 3, 6, 6, 3, 1, 2, 2, 1, 2, 1, 3, 6, 1, 1, 1, 2, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,14
LINKS
FORMULA
a(n) = A055229(A001405(n)), where A055229(n) = gcd(A008833(n), A007913(n)).
EXAMPLE
n=14, binomial(14,7) = 3432 = 8*3*11*13. The largest square divisor is 4, squarefree part is 858. So a(14) = gcd(4,858) = 2.
MATHEMATICA
Table[GCD[First@ Select[Reverse@ Divisors@ #, IntegerQ@ Sqrt@ # &], Times @@ Power @@@ Map[{#1, Mod[#2, 2]} & @@ # &, FactorInteger@ #]] &@ Binomial[n, Floor[n/2]], {n, 80}] (* Michael De Vlieger, Feb 18 2017, after Zak Seidov at A007913 *)
PROG
(PARI)
A001405(n) = binomial(n, n\2);
A055229(n) = { my(c=core(n)); gcd(c, n/c); } \\ Charles R Greathouse IV, Nov 20 2012
A056059(n) = A055229(A001405(n)); \\ Antti Karttunen, Jul 20 2017
(Python)
from sympy import binomial, gcd
from sympy.ntheory.factor_ import core
def a001405(n): return binomial(n, n//2)
def a055229(n):
c = core(n)
return gcd(c, n//c)
def a(n): return a055229(a001405(n))
print([a(n) for n in range(1, 151)]) # Indranil Ghosh, Jul 20 2017
CROSSREFS
A056201 is the cube of this sequence.
Sequence in context: A369008 A238015 A257679 * A355915 A357900 A357732
KEYWORD
nonn
AUTHOR
Labos Elemer, Jul 26 2000
EXTENSIONS
Formula clarified by Antti Karttunen, Jul 20 2017
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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)