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.

Showing 1-7 of 7 results.

A065344 a(n) = binomial(2*n,n) mod ((n+1)*(n+2)).

Original entry on oeis.org

2, 6, 0, 10, 0, 28, 48, 0, 0, 88, 0, 0, 140, 120, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 468, 0, 0, 580, 0, 496, 704, 0, 0, 420, 0, 0, 494, 0, 0, 574, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2016, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4320, 0, 0, 4648, 0, 0, 4988, 0, 0
Offset: 1

Views

Author

Labos Elemer, Oct 30 2001

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Mod[Binomial[2 n, n], (n + 1) (n + 2)], {n, 100}] (* Bruno Berselli, Jan 06 2014 *)
  • PARI
    a(n) = { binomial(2*n, n) % ((n + 1)*(n + 2)) } \\ Harry J. Smith, Oct 17 2009

A002503 Numbers k such that binomial(2*k,k) is divisible by (k+1)^2.

Original entry on oeis.org

5, 14, 27, 41, 44, 65, 76, 90, 109, 125, 139, 152, 155, 169, 186, 189, 203, 208, 209, 219, 227, 230, 237, 265, 275, 298, 307, 311, 314, 321, 324, 329, 344, 377, 413, 419, 428, 434, 439, 441, 449, 458, 459, 467, 475
Offset: 1

Views

Author

Keywords

Comments

From Amiram Eldar, Mar 28 2021: (Start)
Balakram (1929) proved that:
1) This sequence is infinite.
2) If m is an even perfect number (A000396) then m-1 is a term.
3) If m = p*q - 1, where p and q are primes, and (3/2)*p < q < 2*p, then m is a term.
4) m is a term if and only if Sum_{k>=1} floor(2*m/p^k) >= 2 * Sum_{k>=1} floor((m+1)/p^k), for all primes p. (End)

References

  • Hoon Balakram, On the values of n which make (2n)!/(n+1)!(n+1)! an integer, J. Indian Math. Soc., Vol. 18 (1929), pp. 97-100.
  • Thomas Koshy, Catalan numbers with applications, Oxford University Press, 2008, pp. 69-70.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Positions of zeros in A065350.
Equals A067348(n+2)/2 - 1.

Programs

  • Haskell
    import Data.List (elemIndices)
    a002503 n = a002503_list !! (n-1)
    a002503_list = map (+ 1) $ elemIndices 0 a065350_list
    -- Reinhard Zumkeller, Sep 16 2014
    
  • Mathematica
    Select[Range[500],Divisible[Binomial[2#,#],(#+1)^2]&] (* Harvey P. Dale, May 21 2012 *)
  • PARI
    isok(n) = binomial(2*n, n) % (n+1)^2 == 0; \\ Michel Marcus, Jan 11 2016

Formula

A065350(a(n)) = 0. - Reinhard Zumkeller, Sep 16 2014

Extensions

Balakram reference corrected by T. D. Noe, Jan 16 2007

A065345 a(n) = binomial(2*n,n) mod ((n+1)*(n+2)*(n+3)).

Original entry on oeis.org

2, 6, 20, 70, 252, 420, 552, 0, 1100, 1144, 0, 1456, 1400, 2040, 2448, 0, 3420, 0, 0, 0, 6072, 5520, 0, 5850, 13104, 0, 12992, 17980, 22320, 27280, 5984, 7854, 7140, 15540, 0, 36556, 13832, 0, 45920, 24682, 0, 0, 0, 0, 51888, 0, 23520, 0, 0, 0, 0, 94446, 0, 0, 0
Offset: 1

Views

Author

Labos Elemer, Oct 30 2001

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Mod[Binomial[2 n, n], (n + 1) (n + 2) (n + 3)], {n, 60}] (* Harvey P. Dale, Feb 21 2012 *)
  • PARI
    a(n) = { binomial(2*n, n) % ((n + 1)*(n + 2)*(n + 3)) } \\ Harry J. Smith, Oct 17 2009

A065346 a(n) = binomial(2*n, n) mod ((n+1)*(n+2)*(n+3)*(n+4)).

Original entry on oeis.org

2, 6, 20, 70, 252, 924, 3432, 990, 14300, 16588, 17472, 39676, 4760, 18360, 46512, 29070, 30780, 87780, 0, 191268, 273240, 322920, 140400, 58500, 190008, 350784, 402752, 611320, 81840, 649264, 41888, 164934, 264180, 295260, 1316016, 694564
Offset: 1

Views

Author

Labos Elemer, Oct 30 2001

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Mod[Binomial[2 n, n], (n + 1) (n + 2) ((n + 3) (n + 4))], {n, 100}] (* Bruno Berselli, Jan 06 2014 *)
  • PARI
    a(n) = { binomial(2*n, n) % ((n + 1)*(n + 2)*(n + 3)*(n + 4)) } \\ Harry J. Smith, Oct 17 2009

A065347 Positions of zeros in A065344, i.e., binomial(2n,n) mod ((n+1)*(n+2)) = 0.

Original entry on oeis.org

3, 5, 8, 9, 11, 12, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 29, 32, 33, 35, 36, 38, 39, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 80, 81, 83, 84, 86, 87, 89, 90
Offset: 1

Views

Author

Labos Elemer, Oct 30 2001

Keywords

Crossrefs

Programs

  • Mathematica
    ris = {}; Do[If[Mod[Binomial[2 n, n], (n + 1) (n + 2)] == 0, AppendTo[ris, n]], {n, 100}]; ris (* Bruno Berselli, Jan 06 2014 *)
  • PARI
    isok(k) = { binomial(2*k, k) % ((k + 1)*(k + 2)) == 0 } \\ Harry J. Smith, Oct 17 2009

A065348 Positions of zeros in A065345.

Original entry on oeis.org

8, 11, 16, 18, 19, 20, 23, 26, 35, 38, 41, 42, 43, 44, 46, 48, 49, 50, 51, 53, 54, 55, 56, 58, 59, 60, 64, 66, 67, 68, 70, 71, 72, 73, 74, 75, 76, 80, 83, 86, 89, 92, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 107, 110, 113, 116, 119, 123, 124, 128, 130, 131, 134
Offset: 1

Views

Author

Labos Elemer, Oct 30 2001

Keywords

Crossrefs

Programs

  • Mathematica
    ris = {}; Do[If[Mod[Binomial[2 n, n], (n + 1) (n + 2) (n + 3)] == 0,
    AppendTo[ris, n]], {n, 150}]; ris (* Bruno Berselli, Jan 06 2014 *)
  • PARI
    isok(k) = { binomial(2*k, k) % ((k + 1)*(k + 2)*(k + 3)) == 0 } \\ Harry J. Smith, Oct 17 2009

A065350 a(n) = binomial(2*n, n) mod (n+1)^2.

Original entry on oeis.org

2, 6, 4, 20, 0, 42, 40, 72, 20, 110, 120, 156, 56, 0, 208, 272, 108, 342, 200, 378, 176, 506, 432, 600, 260, 459, 0, 812, 840, 930, 928, 396, 476, 490, 360, 1332, 608, 1131, 1200, 1640, 0, 1806, 880, 0, 920, 2162, 864, 2352, 1100, 1224, 208, 2756, 1296, 2145
Offset: 1

Views

Author

Labos Elemer, Oct 30 2001

Keywords

Comments

a(A002503(n)) = 0. - Reinhard Zumkeller, Sep 16 2014

Crossrefs

Programs

  • Haskell
    a065350 n = a065350_list !! (n-1)
    a065350_list = zipWith mod (tail a000984_list) (drop 2 a000290_list)
    -- Reinhard Zumkeller, Sep 16 2014
  • Mathematica
    Table[Mod[Binomial[2 n, n], (n + 1)^2], {n, 100}] (* Bruno Berselli, Jan 06 2014 *)
  • PARI
    a(n) = { binomial(2*n, n) % (n + 1)^2 } \\ Harry J. Smith, Oct 17 2009
    
Showing 1-7 of 7 results.