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-2 of 2 results.

A048990 Catalan numbers with even index (A000108(2*n), n >= 0): a(n) = binomial(4*n, 2*n)/(2*n+1).

Original entry on oeis.org

1, 2, 14, 132, 1430, 16796, 208012, 2674440, 35357670, 477638700, 6564120420, 91482563640, 1289904147324, 18367353072152, 263747951750360, 3814986502092304, 55534064877048198, 812944042149730764, 11959798385860453492, 176733862787006701400
Offset: 0

Views

Author

Keywords

Comments

With interpolated zeros, this is C(n)*(1+(-1)^n)/2 with g.f. given by 2/(sqrt(1+4x) + sqrt(1-4x)). - Paul Barry, Sep 09 2004
Self-convolution of a(n)/4^n gives Catalan numbers (A000108). - Vladimir Reshetnikov, Oct 10 2016
a(n) is the number of grand Dyck paths from (0,0) to (4n,0) that avoid vertices (2k,0) for all odd k > 0. - Alexander Burstein, May 11 2021
a(n) is the number of lattice paths from (0,0) to (2n,2n) with steps (1,0) and (0,1) that avoid the points (1,1), (3,3), (5,5), ..., (2n-1,2n-1). This is Example 2.5 of the Shapiro reference. - Lucas A. Brown, Jul 24 2025

Examples

			sqrt(2*x^-1*(1-sqrt(1-x))) = 1 + (1/8)*x + (7/128)*x^2 + (33/1024)*x^3 + ...
		

Crossrefs

Programs

  • Mathematica
    a[n_] := CatalanNumber[2n]; Array[a, 18, 0] (* Or *)
    CoefficientList[ Series[ Sqrt[2]/Sqrt[1 + Sqrt[1 - 16 x]], {x, 0, 17}], x] (* Robert G. Wilson v *)
    CatalanNumber[Range[0,40,2]] (* Harvey P. Dale, Mar 19 2015 *)
  • MuPAD
    combinat::dyckWords::count(2*n) $ n = 0..28 // Zerinvary Lajos, Apr 14 2007
    
  • PARI
    /* G.f.: A(x) = exp( x*A(x)^4 + Integral(A(x)^4 dx) ): */
    {a(n)=local(A=1+x); for(i=1, n, A=exp(x*A^4 + intformal(A^4 +x*O(x^n)))); polcoeff(A, n)} \\ Paul D. Hanna, Nov 09 2013
    for(n=0, 30, print1(a(n), ", "))
    
  • Sage
    A048990 = lambda n: hypergeometric([1-2*n,-2*n],[2],1)
    [Integer(A048990(n).n()) for n in range(20)] # Peter Luschny, Sep 22 2014

Formula

a(n) = 2 * A065097(n) - A000007(n).
G.f.: A(x) = sqrt((1/8)*x^(-1)*(1-sqrt(1-16*x))).
G.f.: 2F1( (1/4, 3/4); (3/2))(16*x). - Olivier Gérard Feb 17 2011
D-finite with recurrence n*(2*n+1)*a(n) - 2*(4*n-1)*(4*n-3)*a(n-1) = 0. - R. J. Mathar, Nov 30 2012
E.g.f: 2F2(1/4, 3/4; 1, 3/2; 16*x). - Vladimir Reshetnikov, Apr 24 2013
G.f. A(x) satisfies: A(x) = exp( x*A(x)^4 + Integral(A(x)^4 dx) ). - Paul D. Hanna, Nov 09 2013
G.f. A(x) satisfies: A(x) = sqrt(1 + 4*x*A(x)^4). - Paul D. Hanna, Nov 09 2013
a(n) = hypergeom([1-2*n,-2*n],[2],1). - Peter Luschny, Sep 22 2014
a(n) ~ 2^(4*n-3/2)/(sqrt(Pi)*n^(3/2)). - Ilya Gutkovskiy, Oct 10 2016
From Peter Bala, Feb 27 2020: (Start)
a(n) = (4^n)*binomial(2*n + 1/2, n)/(4*n + 1).
O.g.f.: A(x) = sqrt(c(4*x)), where c(x) = (1 - sqrt(1 - 4*x))/(2*x) is the o.g.f. of the Catalan numbers. Cf. A228411. (End)
Sum_{n>=0} 1/a(n) = A276483. - Amiram Eldar, Nov 18 2020
Sum_{n>=0} a(n)/4^n = sqrt(2). - Amiram Eldar, Mar 16 2022
From Peter Bala, Feb 22 2023: (Start)
a(n) = (1/2^(2*n-1)) * Product_{1 <= i <= j <= 2*n-1} (i + j + 2)/(i + j - 1) for n >= 1.
a(n) = Product_{1 <= i <= j <= 2*n-1} (3*i + j + 2)/(3*i + j - 1). Cf. A024492. (End)
a(n) = Sum_{k = 0..2*n-1} (-1)^k * 4^(2*n-k-1)*binomial(2*n-1, k)*Catalan(k+1). - Peter Bala, Apr 29 2024
G.f. A(x) satisfies A(x) = 1/A(-x*A(x)^6). - Seiichi Manyama, Jun 20 2025

A338856 Decimal expansion of Sum_{k>=0} binomial(4*k,2*k)^2 / (2^(8*k) * (2*k + 1)).

Original entry on oeis.org

1, 0, 8, 9, 8, 6, 6, 7, 3, 2, 2, 9, 0, 7, 4, 7, 9, 3, 5, 3, 2, 5, 8, 0, 1, 7, 9, 5, 8, 0, 7, 2, 9, 6, 3, 6, 0, 4, 8, 5, 5, 1, 6, 9, 7, 7, 7, 7, 8, 1, 3, 6, 3, 3, 9, 8, 3, 1, 9, 6, 0, 9, 4, 7, 2, 0, 7, 0, 5, 7, 8, 3, 6, 7, 6, 8, 3, 0, 4, 4, 5, 6, 1, 3, 2, 4, 1, 3, 2, 9, 7, 9, 6, 0, 2, 7, 6, 2, 1, 5, 6, 7, 8, 2, 5
Offset: 1

Views

Author

Vaclav Kotesovec, Nov 12 2020

Keywords

Examples

			1.0898667322907479353258017958072963604855169777781363398319609472070578367683...
		

References

  • Pablo Fernandez Refolio, Problem 12180, The American Mathematical Monthly 127, April 2020, p. 373.

Crossrefs

Programs

  • Maple
    evalf(2/Pi + sqrt(Pi/2) / GAMMA(3/4)^2 - sqrt(2) * GAMMA(3/4)^2 / Pi^(3/2), 120);
  • Mathematica
    RealDigits[2/Pi + Sqrt[Pi/2]/Gamma[3/4]^2 - Sqrt[2]*Gamma[3/4]^2/Pi^(3/2), 10, 100][[1]]
    N[HypergeometricPFQ[{1/4, 1/4, 3/4, 3/4}, {1/2, 1, 3/2}, 1], 120]

Formula

Equals 2/Pi + sqrt(Pi/2) / Gamma(3/4)^2 - sqrt(2) * Gamma(3/4)^2 / Pi^(3/2).
Equals hypergeom([1/4, 1/4, 3/4, 3/4], [1/2, 1, 3/2], 1).
Showing 1-2 of 2 results.