cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A110493 Largest prime p such that p^2 divides binomial(2n,n), or 0 if binomial(2n,n) is squarefree.

Original entry on oeis.org

0, 0, 0, 2, 0, 3, 2, 2, 3, 2, 2, 2, 2, 5, 5, 3, 3, 3, 5, 5, 3, 2, 2, 5, 5, 7, 7, 7, 2, 2, 2, 2, 7, 7, 7, 3, 2, 2, 5, 7, 7, 7, 3, 5, 5, 3, 7, 7, 7, 5, 3, 3, 3, 3, 2, 2, 3, 2, 2, 3, 3, 11, 11, 11, 11, 11, 5, 5, 5, 5, 5, 5, 11, 11, 11, 11, 11, 3, 5, 5, 3, 7, 7, 11, 11, 13, 13, 13, 13, 13, 13, 5, 5, 5, 11, 11
Offset: 0

Views

Author

T. D. Noe, Jul 22 2005

Keywords

Comments

Binomial(2n,n) is squarefree for only n = 0, 1, 2, 4. Sequence A059097 lists n such that a(n) = 0 or 2. The plot shows the quadratic nature of this sequence. Sequence A110494 makes the quadratic behavior clearer.
Granville and Ramaré show that if n >= 2082 then a(n) >= sqrt(n/5). - Robert Israel, Sep 04 2019

Examples

			a(5) = 3 because binomial(10,5) = 252 = (2^2)(3^2)(7).
		

Crossrefs

Cf. A110494 (least k such that prime(n)^2 divides binomial(2k, k)).

Programs

  • Maple
    f:= proc(n) local F;
      F:= select(t -> t[2]>=2, ifactors(binomial(2*n,n))[2]);
      if F = [] then 0 else max(map(t -> t[1],F)) fi
    end proc:
    map(f, [$0..100]); # Robert Israel, Sep 04 2019
  • Mathematica
    Table[f=FactorInteger[Binomial[2n, n]]; s=Select[f, #[[2]]>1&]; If[s=={}, 0, s[[-1,1]]], {n, 0, 100}]

Extensions

a(0) prepended by T. D. Noe, Mar 27 2014