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-10 of 15 results. Next

A002866 a(0) = 1; for n > 0, a(n) = 2^(n-1)*n!.

Original entry on oeis.org

1, 1, 4, 24, 192, 1920, 23040, 322560, 5160960, 92897280, 1857945600, 40874803200, 980995276800, 25505877196800, 714164561510400, 21424936845312000, 685597979049984000, 23310331287699456000, 839171926357180416000, 31888533201572855808000, 1275541328062914232320000
Offset: 0

Views

Author

Keywords

Comments

Consider the set of n-1 odd numbers from 3 to 2n-1, i.e., {3, 5, ..., 2n-1}. There are 2^(n-1) subsets from {} to {3, 5, 7, ..., 2n-1}; a(n) = the sum of the products of terms of all the subsets. (Product for empty set = 1.) a(4) = 1 + 3 + 5 + 7 + 3*5 + 3*7 + 5*7 + 3*5*7 = 192. - Amarnath Murthy, Sep 06 2002
Also, a(n-1) is the number of ways to lace a shoe that has n pairs of eyelets such that there is a straight (horizontal) connection between all adjacent eyelet pairs. - Hugo Pfoertner, Jan 27 2003
This is also the denominator of the integral of ((1-x^2)^(n-1/2))/(Pi/4) where x ranges from 0 to 1. The numerator is (2*x)!/(x!*2^x). In both cases n starts at 1. E.g., the denominator when n=3 is 24 and the numerator is 15. - Al Hakanson (hawkuu(AT)excite.com), Oct 17 2003
Number of ways to use the elements of {1,...,n} once each to form a sequence of nonempty lists. - Bob Proctor, Apr 18 2005
Row sums of A131222. - Paul Barry, Jun 18 2007
Number of rotational symmetries of an n-cube. The number of all symmetries of an n-cube is A000165. See Egan for signed cycle notation, other notes, tables and animation. - Jonathan Vos Post, Nov 28 2007
1, 4, 24, 192, 1920, ... is the exponential (or binomial) convolution of 1, 1, 3, 15, 105, ... and 1, 3, 15, 105, 945 (A001147). - David Callan, Jul 25 2008
The n-th term of this sequence is the number of regions into which n-dimensional space is partitioned by the 2n hyperplanes of the form x_i=x_j and x_i=-x_j (for 1 <= i < j <= n). - Edward Scheinerman (ers(AT)jhu.edu), May 04 2008
a(n) is the number of ways to seat n churchgoers into pews and then linearly order the nonempty pews. - Geoffrey Critzer, Mar 16 2009
Equals the row sums of A156992. - Geoffrey Critzer, Mar 05 2010
From Gary W. Adamson, May 17 2010: (Start)
Next term in the series = (1, 3, 5, 7, ...) dot (1, 1, 4, 24, ...);
e.g., a(5) = 1920 = (1, 3, 5, 7, 9) dot (1, 1, 4, 24, 192) = (1 + 3 + 20 + 168 + 1728). (End)
a(n) is the number of ways to represent the permutations of {1,2,...,n} in cycle notation, taking into account that we can permute the order of all cycles and also have k ways to write a length-k cycle.
For positive n, a(n) equals the permanent of the n X n matrix with consecutive integers 1 to n along the main diagonal, consecutive integers 2 to n along the subdiagonal, and 1's everywhere else. - John M. Campbell, Jul 10 2011
From Dennis P. Walsh, Nov 26 2011: (Start)
Number of ways to arrange n books on consecutive bookshelves.
To derive a(n) = n!2^(n-1), we note that there are n! ways to arrange the books in a row. Then there are 2^(n-1) ways to place the arranged books on consecutive shelves since there are 2^(n-1) ordered partitions of n. Hence a(n) = n!2^(n-1).
Also, a(n) is the number of ways to stack n different alphabet blocks in contiguous stacks.
Furthermore, a(n) is the number of labeled, rooted forests that have (i) each root labeled larger than any nonroot, (ii) each root having exactly one child node, (iii) n non-root nodes, and (iv) each node in the forest with at most one child node.
Example: a(3)=24 since there are 24 arrangements of books b1, b2, and b3 on consecutive shelves, namely, |b1 b2 b3|, |b1 b3 b2|, |b2 b1 b3|, |b2 b3 b1|, |b3 b1 b2|, |b3 b2 b1|, |b1 b2||b3|, |b2 b1| |b3|, |b1 b3||b2|, |b3 b1||b2|, |b2 b3||b1|, |b3 b2||b1|, |b1||b2 b3|,|b1||b3 b2|, |b2||b1 b3|, |b2||b3 b1|, |b3||b1 b2|, |b3||b2 b1|, |b1||b2||b3|, |b1||b3||b2|, |b2||b1||b3|, |b2||b3||b1|, |b3||b1||b2|, and |b3||b2||b1|.
(End)
For n > 3, a(n) is the order of the Coxeter group (also called Weyl group) of type D_n. - Tom Edgar, Nov 05 2013

Examples

			For the shoe lacing: with the notation introduced in A078602 the a(3-1) = 4 "straight" lacings for 3 pairs of eyelets are: 125346, 125436, 134526, 143526. Their mirror images 134256, 143256, 152346, 152436 are not counted.
a(3) = 24 because the 24 rotations of a three-dimensional cube fall into four distinct classes:
(i) the identity, which leaves everything fixed;
(ii) 9 rotations which leave the centers of two faces fixed, comprising rotations of 90, 180 and 270 degrees for each of 3 pairs of faces;
(iii) 6 rotations which leave the centers of two edges fixed, comprising rotations of 180 degrees for each of 6 pairs of edges;
(iv) 8 rotations which leave two vertices fixed, comprising rotations of 120 and 240 degrees for each of 4 pairs of vertices. For an n-cube, rotations can be more complex. For example, in 4 dimensions a rotation can either act in a single plane, such as the x-y plane, while leaving any vectors orthogonal to that plane unchanged, or it can act in two orthogonal planes, performing rotations in both and leaving no vectors fixed. In higher dimensions, there will be room for more planes and more choices as to the number of planes in which a given rotation acts.
		

References

  • N. Bourbaki, Groupes et alg. de Lie, Chap. 4, 5, 6, p. 257.
  • A. P. Prudnikov, Yu. A. Brychkov and O.I. Marichev, "Integrals and Series", Volume 1: "Elementary Functions", Chapter 4: "Finite Sums", New York, Gordon and Breach Science Publishers, 1986-1992, Eq. (4.2.2.26)
  • 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

Bisections give A002671 and A274304.
Appears in A167584 (n >= 1); equals the row sums of A167594 (n >= 1). - Johannes W. Meijer, Nov 12 2009

Programs

  • FORTRAN
    See Pfoertner link.
    
  • Magma
    [1] cat [2^(n-1)*Factorial(n): n in [1..25]]; // G. C. Greubel, Jun 13 2019
    
  • Maple
    A002866 := n-> `if`(n=0,1,2^(n-1)*n!):
    with(combstruct); SeqSeqL := [S, {S=Sequence(U,card >= 1), U=Sequence(Z,card >=1)},labeled];
    seq(ceil(count(Subset(n))*count(Permutation(n))/2),n=0..17); # Zerinvary Lajos, Oct 16 2006
    G(x):=(1-x)/(1-2*x): f[0]:=G(x): for n from 1 to 26 do f[n]:=diff(f[n-1],x) od:x:=0:seq(f[n],n=0..17); # Zerinvary Lajos, Apr 04 2009
  • Mathematica
    Join[{1},Table[2^(n-1) n!,{n,25}]] (* Harvey P. Dale, Sep 27 2013 *)
    a[n_] := (-1)^n Hypergeometric2F1Regularized[1, -n, 2 - n, 2];
    Table[a[n], {n, 0, 20}]  (* Peter Luschny, Apr 26 2024 *)
  • PARI
    a(n)=if(n,n!<<(n-1),1) \\ Charles R Greathouse IV, Jan 13 2012
    
  • PARI
    a(n) = if(n == 0, 1, 2^(n-1)*n!);
    vector(25, n, a(n-1)) \\ Altug Alkan, Oct 18 2015
    
  • Sage
    [1] + [2^(n-1)*factorial(n) for n in (1..25)] # G. C. Greubel, Jun 13 2019

Formula

E.g.f.: (1 - x)/(1 - 2*x). - Paul Barry, May 26 2003, corrected Jun 18 2007
a(n) = n! * A011782(n).
For n >= 1, a(n) = Sum_{i=0..m/2} (-1)^i * binomial(n, i) * (n-2*i)^n. - Yong Kong (ykong(AT)curagen.com), Dec 28 2000
a(n) ~ 2^(1/2) * Pi^(1/2) * n^(3/2) * 2^n * e^(-n) * n^n*{1 + 13/12*n^(-1) + ...}. - Joe Keane (jgk(AT)jgk.org), Nov 23 2001
E.g.f. is B(A(x)), where B(x) = 1/(1 - x) and A(x) = x/(1 - x). - Geoffrey Critzer, Mar 16 2009
a(n) = Sum_{k=1..n} A156992(n,k). - Dennis P. Walsh, Nov 26 2011
a(n+1) = Sum_{k=0..n} A132393(n,k)*2^(n+k), n>0. - Philippe Deléham, Nov 28 2011
G.f.: 1 + x/(1 - 4*x/(1 - 2*x/(1 - 6*x/(1 - 4*x/(1 - 8*x/(1 - 6*x/(1 - 10*x/(1 - ... (continued fraction). - Philippe Deléham, Nov 29 2011
a(n) = 2*n*a(n-1) for n >= 2. - Dennis P. Walsh, Nov 29 2011
G.f.: (1 + 1/G(0))/2, where G(k) = 1 + 2*x*k - 2*x*(k + 1)/G(k+1); (continued fraction, Euler's 1st kind, 1-step). - Sergei N. Gladkovskii, Aug 02 2012
G.f.: 1 + x/Q(0), m=4, where Q(k) = 1 - m*x*(2*k + 1) - m*x^2*(2*k + 1)*(2*k + 2)/(1 - m*x*(2*k + 2) - m*x^2*(2*k + 2)*(2*k + 3)/Q(k+1)) ; (continued fraction). - Sergei N. Gladkovskii, Sep 23 2013
G.f.: 1 + x/(G(0) - x), where G(k) = 1 + x*(k+1) - 4*x*(k + 1)/(1 - x*(k + 2)/G(k+1)); (continued fraction). - Sergei N. Gladkovskii, Dec 24 2013
a(n) = Sum_{k=0..n} L(n,k)*k!; L(n,k) are the unsigned Lah numbers. - Peter Luschny, Oct 18 2014
a(n) = round(Sum_{k >= 1} log(k)^n/k^(3/2))/4, for n >= 1, which is related to the n-th derivative of zeta(x) evaluated at x = 3/2. - Richard R. Forberg, Jan 02 2015
a(n) = n!*hypergeom([-n+1], [], -1) for n>=1. - Peter Luschny, Apr 08 2015
From Amiram Eldar, Aug 04 2020: (Start)
Sum_{n >= 0} 1/a(n) = 2*sqrt(e) - 1.
Sum_{n >= 0} (-1)^n/a(n) = 2/sqrt(e) - 1. (End)

A002674 a(n) = (2n)!/2.

Original entry on oeis.org

1, 12, 360, 20160, 1814400, 239500800, 43589145600, 10461394944000, 3201186852864000, 1216451004088320000, 562000363888803840000, 310224200866619719680000, 201645730563302817792000000, 152444172305856930250752000000, 132626429906095529318154240000000
Offset: 1

Views

Author

Keywords

Comments

Right side of the binomial sum n-> sum( (-1)^i * (n-i)^(2*n) * binomial(2*n, i), i=0..n). - Yong Kong (ykong(AT)curagen.com), Dec 28 2000
a(n) is the number of ways to display n distinct flags on n distinct poles and then linearly order all (including any empty) poles. - Geoffrey Critzer, Dec 16 2009
Product of the partition parts of 2n into exactly two parts. - Wesley Ivan Hurt, Jun 03 2013
Let f(x) be a polynomial in x. The expansion (2*sinh(x/2))^2 = x^2 + (1/12)*x^4 + (1/360)*x^6 + ... leads to the second central difference formula f(x+1) - 2*f(x) + f(x-1) = (2*sinh(D/2))^2(f(x)) = D^2(f(x)) + (1/12)*D^4(f(x)) + (1/360)* D^6(f(x)) + ..., where D denotes the differential operator d/dx. - Peter Bala, Oct 03 2019

Examples

			a(3) = 360, since 2(3) = 6 has exactly 3 partitions into two parts: (5,1), (4,2), (3,3).  Multiplying all the parts in the partitions, we get 5! * 3 = 360. - _Wesley Ivan Hurt_, Jun 03 2013
		

References

  • A. P. Prudnikov, Yu. A. Brychkov and O.I. Marichev, "Integrals and Series", Volume 1: "Elementary Functions", Chapter 4: "Finite Sums", New York, Gordon and Breach Science Publishers, 1986-1992, Eq. (4.2.2.33)
  • 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

a(n) = A090438(n, 2), n >= 1 (first column of (4, 2)-Stirling2 array).

Programs

Formula

4*sinh(x/2)^2 = Sum_{k>=1} x^(2k)/a(k). - Benoit Cloitre, Dec 08 2002
E.g.f.: (hypergeom([1/2, 1], [], 4*x)-1)/2 (cf. A090438).
a(n) = n*(2n-1)!. - Geoffrey Critzer, Dec 16 2009
a(n) = A010050(n)/2. - Wesley Ivan Hurt, Aug 22 2013
a(n) = Product_{k=0..n-1} (n^2 - k^2). - Stanislav Sykora, Jul 14 2014
Series reversion ( Sum_{n >= 1} x^n/a(n) ) = Sum_{n >= 1} (-1)^n*x^n/b(n-1), where b(n) = A002544(n). - Peter Bala, Apr 18 2017
From Amiram Eldar, Jul 09 2020: (Start)
Sum_{n>=1} 1/a(n) = 2*(cosh(1) - 1).
Sum_{n>=1} (-1)^(n+1)/a(n) = 2*(1 - cos(1)). (End)

A002672 Denominators of central difference coefficients M_{3}^(2n+1).

Original entry on oeis.org

1, 8, 1920, 193536, 154828800, 1167851520, 892705701888000, 1428329123020800, 768472460034048000, 4058540589291090739200, 196433364521688791777280000, 5957759187690780937420800000, 30447485794244997427545243648000000, 341011840895543971188506728857600000
Offset: 1

Views

Author

Keywords

Comments

From Peter Bala, Oct 03 2019: (Start)
Denominators in the expansion of (2*sinh(x/2))^3 = x^3 + (1/8)*x^5 + (13/1920)*x^7 + (41/193536)*x^9 + ....
Let f(x) be a polynomial in x. The expansion of (2*sinh(x/2))^3 leads to a formula for the third central differences: f(x+3/2) - 3*f(x+1/2) + 3*f(x-1/2) - f(x-3/2) = (2*sinh(D/2))^3(f(x)) = D^3(f(x)) + (1/8)*D^5(f(x)) + (13/1920)* D^7(f(x)) + ..., where D denotes the differential operator d/dx. (End)

References

  • 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

Cf. A002673 (for numerators). Cf. A002671, A002674, A002675, A002676, A002677.

Formula

a(n) = denominator(3! * m(3, 2 * n + 1) / (2 * n + 1)!) where m(k, k) = 1; m(k, q) = 0 for k = 0, k > q, or k + q odd; m(1, q) = 1/2^(q-1) for odd q; m(2, q) = 1 for even q; m(k, q+2) = m(k-2, q) + (k/2)^2 * m(k, q) otherwise. [From Salzer] - Sean A. Irvine, Dec 20 2016

A002675 Numerators of coefficients for central differences M_{4}^(2*n).

Original entry on oeis.org

1, 1, 1, 17, 31, 1, 5461, 257, 73, 1271, 60787, 241, 22369621, 617093, 49981, 16843009, 5726623061, 7957, 91625968981, 61681, 231927781, 50991843607, 499069107643, 4043309297, 1100586419201, 5664905191661, 1672180312771
Offset: 2

Views

Author

Keywords

Comments

From Peter Bala, Oct 03 2019: (Start)
Numerators in the expansion of (2*sinh(x/2))^4 = x^4 + (1/6)*x^6 + (1/80)*x^8 + (17/30240)*x^10 + ....
Let f(x) be a polynomial in x. The expansion of (2*sinh(x/2))^4 leads to a formula for the fourth central differences: f(x+2) - 4*f(x+1) + 6*f(x) - 4*f(x-1) + f(x-2) = (2*sinh(D/2))^4(f(x)) = D^4(f(x)) + (1/6)*D^6(f(x)) + (1/80)* D^8(f(x)) + (17/30240)*D^10(f(x)) + ..., where D denotes the differential operator d/dx. (End)

References

  • 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

Cf. A002676 and A002677 (two different choices for denominators).
Also equals A002430/A002431.

Programs

  • Maple
    gf := (sinh(2*sqrt(x)) - 2*sinh(sqrt(x)))*sqrt(x):
    ser := series(gf, x, 40): seq(numer(coeff(ser,x,n)), n=2..28); # Peter Luschny, Oct 05 2019

Extensions

More terms from Sean A. Irvine, Dec 20 2016

A002677 Denominators of coefficients for central differences M_{3}'^(2*n+1).

Original entry on oeis.org

1, 4, 40, 12096, 604800, 760320, 217945728000, 697426329600, 16937496576000, 30964207376793600, 187333454629601280000, 111407096483020800000, 1814811575069725360128000000, 10162944820390462016716800000
Offset: 1

Views

Author

Keywords

References

  • 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

Numerators are A002675.

Programs

  • Maple
    gf := (sinh(2*sqrt(x)) - 2*sinh(sqrt(x)))/sqrt(x): ser := series(gf, x, 20):
    seq(denom(coeff(ser, x, n)), n=1..14); # Peter Luschny, Oct 05 2019

Formula

From Peter Bala, Oct 03 2019: (Start)
a(n) are the denominators in the expansion of (1/2)*(d/dx)(2*sinh(sqrt(x)/2))^4 =
x + (1/4)*x^2 + (1/40)*x^3 + (17/12096)*x^4 + (31/604800)*x^5 + ...
The a(n) also appear as denominators in the difference formula: (1/2)*f(x+2) - f(x+1) + f(x-1) - (1/2)*f(x-2) = D^3(f(x)) + (1/4)*D^5(f(x)) + (1/40)*D^7(f(x)) + (17/12096)*D^9(f(x)) + ..., where D denotes the differential operator d/dx.
(End)

Extensions

More terms from Sean A. Irvine, Dec 20 2016

A002673 Numerators of central difference coefficients M_{3}^(2n+1).

Original entry on oeis.org

1, 1, 13, 41, 671, 73, 597871, 7913, 28009, 792451, 170549237, 19397633, 317733228541, 9860686403, 75397891, 170314355593, 2084647712458321, 29327731093, 168856464709124011, 3063310184201, 499338236699611, 535201577273701757, 23571643935246013553
Offset: 1

Views

Author

Keywords

Comments

From Peter Bala, Oct 03 2019: (Start)
Numerators in the expansion of (2*sinh(x/2))^3 = x^3 + (1/8)*x^5 + (13/1920)*x^7 + (41/193536)*x^9 + ....
Let f(x) be a polynomial in x. The expansion of (2*sinh(x/2))^3 leads to a formula for the third central differences: f(x+3/2) - 3*f(x+1/2) + 3*f(x-1/2) - f(x-3/2) = (2*sinh(D/2))^3(f(x)) = D^3(f(x)) + (1/8)*D^5(f(x)) + (13/1920)* D^7(f(x)) + ..., where D denotes the differential operator d/dx. (End)

References

  • 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

A002197 Numerators of coefficients for numerical integration.

Original entry on oeis.org

1, 17, 367, 27859, 1295803, 5329242827, 25198857127, 11959712166949, 11153239773419941, 31326450596954510807, 3737565567167418110609, 2102602044094540855003573, 189861334343507894443216783
Offset: 0

Views

Author

Keywords

Comments

The numerators of these coefficients for numerical integration are a combination of the Bernoulli numbers B{2k}, the central factorial numbers A008956(n, k) and the factor 4^n*(2*n+1)!. - Johannes W. Meijer, Jan 27 2009

Examples

			a(2) = numer(((1-2^1)*(-1)*((1/6)/2)*(9) + (1-2^3)*(1)*((-1/30)/4)*(10) + (1-2^5)*(-1)*((1/42)/6)*(1))/(2*4^2*5!)) so a(2) = 367. - _Johannes W. Meijer_, Jan 27 2009
		

References

  • H. E. Salzer, Coefficients for mid-interval numerical integration with central differences, Phil. Mag., 36 (1945), 216-218.
  • 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

Cf. A002198.
See A000367, A006954, A008956 and A002671 for underlying sequences.
Factor of the LS1[-2,n] matrix coefficients in A160487.

Programs

  • Maple
    nmax:=13: for n from 0 to nmax do A008956(n, 0) := 1: A008956(n, n) := (doublefactorial(2*n-1))^2 od: for n from 1 to nmax do for k from 1 to n-1 do A008956(n, k) := (2*n-1)^2*A008956(n-1, k-1) + A008956(n-1, k) od: od: for n from 0 to nmax do Delta(n) := sum((1-2^(2*k1-1)) * (-1)^(k1) * (bernoulli(2*k1)/(2*k1)) * A008956(n, n+1-k1), k1=1..n+1) / (2*4^(n)*(2*n+1)!) end do: a:=n-> numer(Delta(n)): seq(a(n), n=0..nmax-1); # Johannes W. Meijer, Jan 27 2009, revised Sep 21 2012
  • Mathematica
    CoefficientList[Series[1/x - 1/Sqrt[x]/ArcSin[Sqrt[x]], {x, 0, 12}], x] // Numerator (* Jean-François Alcover, Jul 05 2011, after Vladeta Jovovic *)
  • Maxima
    a(n):=(sum(binomial(2*n+k-1,2*n-2)*sum((binomial(k+1,j)*sum((2*i-j)^(2*n+j)*binomial(j,i)*(-1)^(n-i),i,0,j/2))/(2^(j-1)*(2*n+j)!),j,1,k+1),k,0,2*n-1))/(2*n-1);
    makelist(num(a(n)),n,0,10); /* Vladimir Kruchinin, May 16 2013 */

Formula

Numerators of coefficients in expansion of 1/x-1/sqrt(x)/arcsin(sqrt(x)). - Vladeta Jovovic, Aug 11 2002
a(n) = numerator [sum((1-2^(2*k-1)) * (-1)^(k) * (B{2k}/(2*k)) * A008956(n, n+1-k), k=1..n+1) / (2*4^(n)*(2*n+1)!)] for n >= 0. - Johannes W. Meijer, Jan 27 2009
a(n) = numerator((sum(k=0..2*n-1, binomial(2*n+k-1,2*n-2)*sum(j=1..k+1, (binomial(k+1,j)*sum(i=0..j/2,(2*i-j)^(2*n+j)*binomial(j,i)*(-1)^(n-i)))/(2^(j-1)*(2*n+j)!))))/(2*n-1)). - Vladimir Kruchinin, May 16 2013

Extensions

More terms from Vladeta Jovovic, Aug 11 2002
Edited by Johannes W. Meijer, Sep 21 2012

A002198 Denominators of coefficients for numerical integration.

Original entry on oeis.org

24, 5760, 967680, 464486400, 122624409600, 2678117105664000, 64274810535936000, 149852129706639360000, 669659197233029971968000, 8839501403475995629977600000, 4879404774718749587747635200000
Offset: 0

Views

Author

Keywords

Comments

The denominators of these coefficients for numerical integration are a combination of the Bernoulli numbers B{2k}, the central factorial numbers A008956(n, k) and the factor 4^n*(2*n+1)!. - Johannes W. Meijer, Jan 27 2009

References

  • H. E. Salzer, Coefficients for mid-interval numerical integration with central differences, Phil. Mag., 36 (1945), 216-218.
  • 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

Cf. A002197.
See A000367, A006954, A008956 and A002671 for underlying sequences.
Factor of the LS1[ -2,n] matrix coefficients in A160487.

Programs

  • Maple
    nmax:=10: for n from 0 to nmax do A008956(n, 0) := 1: A008956(n, n) := (doublefactorial(2*n-1))^2 od: for n from 1 to nmax do for k from 1 to n-1 do A008956(n, k) := (2*n-1)^2*A008956(n-1, k-1) + A008956(n-1, k) od: od:
    for n from 0 to nmax do Delta(n) := add((1-2^(2*k1-1)) * (-1)^k1 * (bernoulli(2*k1)/(2*k1)) * A008956(n, n+1-k1), k1=1..n+1) / (2*4^(n)*(2*n+1)!) end do: a:=n-> denom (Delta(n)): seq(a(n), n=0..nmax); # Johannes W. Meijer, Jan 27 2009, Revised Sep 21 2012

Formula

a(n) = denominator(Sum_{k=1..n+1}((1-2^(2*k-1))*(-1)^k*(B_{2k}/(2*k))*A008956(n, n+1-k)) / (2*4^(n)*(2*n+1)!)) for n >= 0. - Johannes W. Meijer, Jan 27 2009

Extensions

Two more terms and editing by Johannes W. Meijer, Sep 21 2012

A002676 Denominators of coefficients for central differences M_{4}^(2*n).

Original entry on oeis.org

1, 6, 80, 30240, 1814400, 2661120, 871782912000, 3138418483200, 84687482880000, 170303140572364800, 1124000727777607680000, 724146127139635200000, 12703681025488077520896000000, 76222086152928465125376000000, 1531041037877004667453440000000
Offset: 2

Views

Author

Keywords

Comments

From Peter Bala, Oct 03 2019: (Start)
Denominators in the expansion of (2*sinh(x/2))^4 = x^4 + (1/6)*x^6 + (1/80)*x^8 + (17/30240)*x^10 + ....
Let f(x) be a polynomial in x. The expansion of (2*sinh(x/2))^4 leads to a formula for the fourth central differences: f(x+2) - 4*f(x+1) + 6*f(x) - 4*f(x-1) + f(x-2) = (2*sinh(D/2))^4(f(x)) = D^4(f(x)) + (1/6)*D^6(f(x)) + (1/80)*D^8(f(x)) + (17/30240)*D^10(f(x)) + ..., where D denotes the differential operator d/dx. (End)

References

  • 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

Cf. A002675 (numerators). Cf. A002671, A002672, A002673, A002674, A002677.

Programs

  • Maple
    gf := 6 - 8*cosh(sqrt(x)) + 2*cosh(2*sqrt(x)): ser := series(gf, x, 40):
    seq(denom(coeff(ser,x,n)), n=2..16); # Peter Luschny, Oct 05 2019

Formula

a(n) = denominator(4! * m(4, 2 * n) / (2 * n)!) where m(k, q) is defined in A002672. - Sean A. Irvine, Dec 20 2016

Extensions

More terms from Sean A. Irvine, Dec 20 2016

A007346 Order of group generated by perfect shuffles of 2n cards.

Original entry on oeis.org

2, 8, 24, 24, 1920, 7680, 322560, 64, 92897280, 3715891200, 40874803200, 194641920, 25505877196800, 1428329123020800, 21424936845312000, 160, 23310331287699456000, 1678343852714360832000, 31888533201572855808000
Offset: 1

Views

Author

Keywords

References

  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Bisections give A002671, A274303.

Programs

  • Maple
    f:=proc(n) local k,i,np;
    if n=1 then 2
    elif (n mod 2) = 1 then n!*2^(n-1)
    elif n=6 then 2^9*3*5
    elif n=12 then 2^17*3^3*5*11
    elif n=2 then 8
    elif (n mod 4)=2 then n!*2^n
    else
    np:=n; k:=1;
    for i while (np mod 2) = 0 do
       np:=np/2; k:=k+1; od;
       if (n=2^(k-1)) then k*2^k else n!*2^(n-2); fi;
    fi;
    end;
    [seq(f(n),n=1..64)]; # N. J. A. Sloane, Jun 20 2016
  • Mathematica
    a[1] = 2; a[2] = 8; a[n_] := With[{m = 2^n*n!}, Which[Mod[n, 4] == 2, If[n == 6, m/6, m], Mod[n, 4] == 1, m/2, Mod[n, 4] == 3, m/2, True, If[n == 2^IntegerExponent[n, 2], 2*n*(IntegerExponent[n, 2] + 1), If[n == 12, m/(2*7!), m/4]]]]; Table[a[n], {n, 1, 19}](* Jean-François Alcover, Feb 17 2012, after Franklin T. Adams-Watters *)
  • PARI
    A007346(n) = local(M); M=2^n*n!; if(n%4==2, if(n==2, 8, if(n==6, M/6, M)), if(n%4==1, if(n==1, 2, M/2), if(n%4==3, M/2, if(n==2^valuation(n, 2), 2*n*(valuation(n, 2)+1), if(n==12, M/(7!*2), M/4))))) \\ Franklin T. Adams-Watters, Nov 30 2006

Formula

See Maple program. - N. J. A. Sloane, Jun 20 2016

Extensions

Corrected and extended by Franklin T. Adams-Watters, Nov 30 2006
Showing 1-10 of 15 results. Next