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

A093883 Product of all possible sums of two distinct numbers taken from among first n natural numbers.

Original entry on oeis.org

1, 3, 60, 12600, 38102400, 2112397056000, 2609908810629120000, 84645606509847871488000000, 82967862872337478796810649600000000, 2781259372192376861719959017613164544000000000
Offset: 1

Views

Author

Amarnath Murthy, Apr 22 2004

Keywords

Comments

From Clark Kimberling, Jan 02 2013: (Start)
Each term divides its successor, as in A006963, and by the corresponding superfactorial, A000178(n), as in A203469.
Abbreviate "Vandermonde" as V. The V permanent of a set S={s(1),s(2),...,s(n)} is a product of sums s(j)+s(k) in analogy to the V determinant as a product of differences s(k)-s(j). Let D(n) and P(n) denote the V determinant and V permanent of S, and E(n) the V determinant of the numbers s(1)^2, s(2)^2, ..., s(n)^2; then P(n) = E(n)/D(n). This is one of many divisibility properties associated with V determinants and permanents. Another is that if S consists of distinct positive integers, then D(n) divides D(n+1) and P(n) divides P(n+1).
Guide to related sequences:
...
s(n).............. D(n)....... P(n)
n................. A000178.... (this)
n+1............... A000178.... A203470
n+2............... A000178.... A203472
n^2............... A202768.... A203475
2^(n-1)........... A203303.... A203477
2^n-1............. A203305.... A203479
n!................ A203306.... A203482
n(n+1)/2.......... A203309.... A203511
Fibonacci(n+1).... A203311.... A203518
prime(n).......... A080358.... A203521
odd prime(n)...... A203315.... A203524
nonprime(n)....... A203415.... A203527
composite(n)...... A203418.... A203530
2n-1.............. A108400.... A203516
n+floor(n/2)...... A203430
n+floor[(n+1)/2].. A203433
1/n............... A203421
1/(n+1)........... A203422
1/(2n)............ A203424
1/(2n+2).......... A203426
1/(3n)............ A203428
Generalizing, suppose that f(x,y) is a function of two variables and S=(s(1),s(2),...s(n)). The phrase, "Vandermonde sequence using f(x,y) applied to S" means the sequence a(n) whose n-th term is the product f(s(j,k)) : 1<=j
...
If f(x,y) is a (bivariate) cyclotomic polynomial and S is a strictly increasing sequence of positive integers, then a(n) consists of integers, each of which divides its successor. Guide to sequences for which f(x,y) is x^2+xy+y^2 or x^2-xy+y^2 or x^2+y^2:
...
s(n) ............ x^2+xy+y^2.. x^2-xy+y^2.. x^2+y^2
n ............... A203012..... A203312..... A203475
n+1 ............. A203581..... A203583..... A203585
2n-1 ............ A203514..... A203587..... A203589
n^2 ............. A203673..... A203675..... A203677
2^(n-1) ......... A203679..... A203681..... A203683
n! .............. A203685..... A203687..... A203689
n(n+1)/2 ........ A203691..... A203693..... A203695
Fibonacci(n) .... A203742..... A203744..... A203746
Fibonacci(n+1) .. A203697..... A203699..... A203701
prime(n) ........ A203703..... A203705..... A203707
floor(n/2) ...... A203748..... A203752..... A203773
floor((n+1)/2) .. A203759..... A203763..... A203766
For f(x,y)=x^4+y^4, see A203755 and A203770. (End)

Examples

			a(4) = (1+2)*(1+3)*(1+4)*(2+3)*(2+4)*(3+4) = 12600.
		

References

  • Amarnath Murthy, Another combinatorial approach towards generalizing the AM-GM inequality, Octagon Mathematical Magazine, Vol. 8, No. 2, October 2000.
  • Amarnath Murthy, Smarandache Dual Symmetric Functions And Corresponding Numbers Of The Type Of Stirling Numbers Of The First Kind. Smarandache Notions Journal, Vol. 11, No. 1-2-3 Spring 2000.

Crossrefs

Programs

  • Maple
    a:= n-> mul(mul(i+j, i=1..j-1), j=2..n):
    seq(a(n), n=1..12);  # Alois P. Heinz, Jul 23 2017
  • Mathematica
    f[n_] := Product[(j + k), {k, 2, n}, {j, 1, k - 1}]; Array[f, 10] (* Robert G. Wilson v, Jan 08 2013 *)
  • PARI
    A093883(n)=prod(i=1,n,(2*i-1)!/i!)  \\ M. F. Hasler, Nov 02 2012

Formula

Partial products of A006963: a(n) = Product((2*i-1)!/i!, i=1..n). - Vladeta Jovovic, May 27 2004
G.f.: G(0)/(2*x) -1/x, where G(k)= 1 + 1/(1 - 1/(1 + 1/((2*k+1)!/(k+1)!)/x/G(k+1))); (continued fraction). - Sergei N. Gladkovskii, Jun 15 2013
a(n) ~ sqrt(A/Pi) * 2^(n^2 + n/2 - 7/24) * exp(-3*n^2/4 + n/2 - 1/24) * n^(n^2/2 - n/2 - 11/24), where A is the Glaisher-Kinkelin constant A074962. - Vaclav Kotesovec, Jan 26 2019

Extensions

More terms from Vladeta Jovovic, May 27 2004

A001861 Expansion of e.g.f. exp(2*(exp(x) - 1)).

Original entry on oeis.org

1, 2, 6, 22, 94, 454, 2430, 14214, 89918, 610182, 4412798, 33827974, 273646526, 2326980998, 20732504062, 192982729350, 1871953992254, 18880288847750, 197601208474238, 2142184050841734, 24016181943732414, 278028611833689478, 3319156078802044158, 40811417293301014150
Offset: 0

Keywords

Comments

Values of Bell polynomials: ways of placing n labeled balls into n unlabeled (but 2-colored) boxes.
First column of the square of the matrix exp(P)/exp(1) given in A011971. - Gottfried Helms, Mar 30 2007
Base matrix in A011971, second power in A078937, third power in A078938, fourth power in A078939. - Gottfried Helms, Apr 08 2007
Equals row sums of triangle A144061. - Gary W. Adamson, Sep 09 2008
Equals eigensequence of triangle A109128. - Gary W. Adamson, Apr 17 2009
Hankel transform is A108400. - Paul Barry, Apr 29 2009
The number of ways of putting n labeled balls into a set of bags and then putting the bags into 2 labeled boxes. An example is given below. - Peter Bala, Mar 23 2013
The f-vectors of n-dimensional hypercube are given by A038207 = exp[M*B(.,2)] = exp[M*A001861(.)] where M = A238385-I and (B(.,x))^n = B(n,x) are the Bell polynomials (cf. A008277). - Tom Copeland, Apr 17 2014
Moments of the Poisson distribution with mean 2. - Vladimir Reshetnikov, May 17 2016
Exponential self-convolution of Bell numbers (A000110). - Vladimir Reshetnikov, Oct 06 2016

Examples

			a(2) = 6: The six ways of putting 2 balls into bags (denoted by { }) and then into 2 labeled boxes (denoted by [ ]) are
01: [{1,2}] [ ];
02: [ ] [{1,2}];
03: [{1}] [{2}];
04: [{2}] [{1}];
05: [{1} {2}] [ ];
06: [ ] [{1} {2}].
- _Peter Bala_, Mar 23 2013
		

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

For boxes of 1 color, see A000110, for 3 colors see A027710, for 4 colors see A078944, for 5 colors see A144180, for 6 colors see A144223, for 7 colors see A144263, for 8 colors see A221159.
First column of A078937.
Equals 2*A035009(n), n>0.
Row sums of A033306, A036073, A049020, and A144061.

Programs

  • Magma
    [&+[2^k*StirlingSecond(n, k): k in [0..n]]: n in [0..25]]; // Vincenzo Librandi, May 18 2019
  • Maple
    A001861:=n->add(Stirling2(n,k)*2^k, k=0..n); seq(A001861(n), n=0..20); # Wesley Ivan Hurt, Apr 18 2014
    # second Maple program:
    b:= proc(n, m) option remember;
         `if`(n=0, 2^m, m*b(n-1, m)+b(n-1, m+1))
        end:
    a:= n-> b(n, 0):
    seq(a(n), n=0..25);  # Alois P. Heinz, Aug 04 2021
  • Mathematica
    Table[Sum[StirlingS2[n, k]*2^k, {k, 0, n}], {n, 0, 21}] (* Geoffrey Critzer, Oct 06 2009 *)
    mx = 16; p = 1; Range[0, mx]! CoefficientList[ Series[ Exp[ (Exp[p*x] - p - 1)/p + Exp[x]], {x, 0, mx}], x] (* Robert G. Wilson v, Dec 12 2012 *)
    Table[BellB[n, 2], {n, 0, 20}] (* Vaclav Kotesovec, Jan 06 2013 *)
  • PARI
    a(n)=if(n<0,0,n!*polcoeff(exp(2*(exp(x+x*O(x^n))-1)),n))
    
  • PARI
    {a(n)=polcoeff(sum(m=0, n, 2^m*x^m/prod(k=1,m,1-k*x +x*O(x^n))), n)} /* Paul D. Hanna, Feb 15 2012 */
    
  • PARI
    {a(n) = sum(k=0, n, 2^k*stirling(n, k, 2))} \\ Seiichi Manyama, Jul 28 2019
    
  • Sage
    expnums(30, 2) # Zerinvary Lajos, Jun 26 2008
    

Formula

a(n) = Sum_{k=0..n} 2^k*Stirling2(n, k). - Emeric Deutsch, Oct 20 2001
a(n) = exp(-2)*Sum_{k>=1} 2^k*k^n/k!. - Benoit Cloitre, Sep 25 2003
G.f. satisfies 2*(x/(1-x))*A(x/(1-x)) = A(x) - 1; twice the binomial transform equals the sequence shifted one place left. - Paul D. Hanna, Dec 08 2003
PE = exp(matpascal(5)-matid(6)); A = PE^2; a(n)=A[n,1]. - Gottfried Helms, Apr 08 2007
G.f.: 1/(1-2x-2x^2/(1-3x-4x^2/(1-4x-6x^2/(1-5x-8x^2/(1-6x-10x^2/(1-... (continued fraction). - Paul Barry, Apr 29 2009
O.g.f.: Sum_{n>=0} 2^n*x^n / Product_{k=1..n} (1-k*x). - Paul D. Hanna, Feb 15 2012
a(n) ~ exp(-2-n+n/LambertW(n/2))*n^n/LambertW(n/2)^(n+1/2). - Vaclav Kotesovec, Jan 06 2013
G.f.: (G(0) - 1)/(x-1)/2 where G(k) = 1 - 2/(1-k*x)/(1-x/(x-1/G(k+1) )); (continued fraction). - Sergei N. Gladkovskii, Jan 16 2013
G.f.: 1/Q(0) where Q(k) = 1 + x*k - x - x/(1 - 2*x*(k+1)/Q(k+1) ); (continued fraction). - Sergei N. Gladkovskii, Mar 07 2013
G.f.: ((1+x)/Q(0)-1)/(2*x), where Q(k) = 1 - (k+1)*x - 2*(k+1)*x^2/Q(k+1); (continued fraction). - Sergei N. Gladkovskii, May 03 2013
G.f.: T(0)/(1-2*x), where T(k) = 1 - 2*x^2*(k+1)/( 2*x^2*(k+1) - (1-2*x-x*k)*(1-3*x-x*k)/T(k+1) ); (continued fraction). - Sergei N. Gladkovskii, Oct 24 2013
a(n) = Sum_{k=0..n} A033306(n,k) = Sum_{k=0..n} binomial(n,k)*Bell(k)*Bell(n-k), where Bell = A000110 (see Motzkin, p. 170). - Danny Rorabaugh, Oct 18 2015
a(0) = 1 and a(n) = 2 * Sum_{k=0..n-1} binomial(n-1,k)*a(k) for n > 0. - Seiichi Manyama, Sep 25 2017 [corrected by Ilya Gutkovskiy, Jul 12 2020]

A047974 a(n) = a(n-1) + 2*(n-1)*a(n-2).

Original entry on oeis.org

1, 1, 3, 7, 25, 81, 331, 1303, 5937, 26785, 133651, 669351, 3609673, 19674097, 113525595, 664400311, 4070168161, 25330978113, 163716695587, 1075631907655, 7296866339961, 50322142646161, 356790528924523, 2570964805355607, 18983329135883665, 142389639792952801, 1091556096587136051
Offset: 0

Keywords

Comments

Related to partially ordered sets. - Detlef Pauly (dettodet(AT)yahoo.de), Sep 25 2003
The number of partial permutation matrices P in GL_n with P^2=0. Alternatively, the number of orbits of the Borel group of upper triangular matrices acting by conjugation on the set of matrices M in GL_n with M^2=0. - Brian Rothbach (rothbach(AT)math.berkeley.edu), Apr 16 2004
Number of ways to use the elements of {1..n} once each to form a collection of sequences, each having length 1 or 2. - Bob Proctor, Apr 18 2005
Hankel transform is A108400. - Paul Barry, Feb 11 2008
This is also the number of subsets of equivalent ways to arrange the elements of n pairs, when equivalence is defined under the joint operation of (optional) reversal of elements combined with permutation of the labels and the subset maps to itself. - Ross Drewe, Mar 16 2008
Equals inverse binomial transform of A000898. - Gary W. Adamson, Oct 06 2008
a(n) is also the moment of order n for the measure of density exp(-(x-1)^2/4)/(2*sqrt(Pi)) over the interval -oo..oo. - Groux Roland, Mar 26 2011
The n-th term gives the number of fixed-point-free involutions in S_n^B, the group of permutations on the set {-n,...,-1,1,2,...,n}. - Matt Watson, Jul 26 2012
From Peter Bala, Dec 03 2017: (Start)
a(n+k) == a(n) (mod k) for all n and k. Hence for each k, the sequence a(n) taken modulo k is a periodic sequence and the exact period divides k. Cf. A115329.
More generally, the same divisibility property holds for any sequence with an e.g.f. of the form F(x)*exp(x*G(x)), where F(x) and G(x) are power series with integer coefficients and G(0) = 1. See the Bala link for a proof. (End)

Crossrefs

Row sums of A067147.
Column k=2 of A359762.
Sequences with e.g.f = exp(x + q*x^2): A158968 (q=-9), A158954 (q=-4), A362177 (q=-3), A362176 (q=-2), A293604 (q=-1), A000012 (q=0), this sequence (q=1), A115329 (q=2), A293720 (q=4).

Programs

  • MATLAB
    N = 18; A = zeros(N,1); for n = 1:N; a = factorial(n); s = 0; k = 0; while k <= floor(n/2); b = factorial(n - 2*k); c = factorial(k); s = s + a/(b*c); k = k+1; end; A(n) = s; end; disp(A); % Ross Drewe, Mar 16 2008
    
  • Magma
    [n le 2 select 1 else Self(n-1) + 2*(n-2)*Self(n-2): n in [1..40]]; // G. C. Greubel, Jul 12 2024
    
  • Maple
    seq( add(n!/((n-2*k)!*k!), k=0..floor(n/2)), n=0..30 ); # Detlef Pauly (dettodet(AT)yahoo.de), Nov 15 2001
    with(combstruct):seq(count(([S,{S=Set(Union(Z,Prod(Z,Z)))},labeled],size=n)),n=0..30); # Detlef Pauly (dettodet(AT)yahoo.de), Sep 25 2003
    A047974 := n -> I^(-n)*orthopoly[H](n, I/2):
    seq(A047974(n), n=0..26); # Peter Luschny, Nov 29 2017
  • Mathematica
    Range[0, 23]!*CoefficientList[ Series[ Exp[x*(1-x^2)/(1 - x)], {x, 0,23 }], x] - (* Zerinvary Lajos, Mar 23 2007 *)
    Table[I^(-n)*HermiteH[n, I/2], {n, 0, 23}] - (* Alyssa Byrnes and C. Vignat, Jan 31 2013 *)
  • PARI
    my(x='x+O('x^66)); Vec(serlaplace(exp(x^2+x))) \\ Joerg Arndt, May 04 2013
    
  • SageMath
    [(-i)^n*hermite(n,i/2) for n in range(41)] # G. C. Greubel, Jul 12 2024

Formula

E.g.f.: exp(x^2+x). - Len Smiley, Dec 11 2001
Binomial transform of A001813 (with interpolated zeros). - Paul Barry, May 09 2003
a(n) = Sum_{k=0..n} C(k,n-k)*n!/k!. - Paul Barry, Mar 29 2007
a(n) = Sum_{k=0..floor(n/2)} C(n,2k)*(2k)!/k!; - Paul Barry, Feb 11 2008
G.f.: 1/(1-x-2*x^2/(1-x-4*x^2/(1-x-6*x^2/(1-x-8*x^2/(1-... (continued fraction). -Paul Barry, Apr 10 2009
E.g.f.: Q(0); Q(k) = 1+(x^2+x)/(2*k+1-(x^2+x)*(2*k+1)/((x^2+x)+(2*k+2)/Q(k+1))); (continued fraction). - Sergei N. Gladkovskii, Nov 24 2011
a(n) = D^n(exp(x)) evaluated at x = 0, where D is the operator sqrt(1+4*x)*d/dx. Cf. A000085 and A115329. - Peter Bala, Dec 07 2011
a(n) ~ 2^(n/2 - 1/2)*exp(sqrt(n/2) - n/2 - 1/8)*n^(n/2). - Vaclav Kotesovec, Oct 08 2012
E.g.f.: 1 + x*(E(0)-1)/(x+1) where E(k) = 1 + (1+x)/(k+1)/(1-x/(x+1/E(k+1) )); (continued fraction). - Sergei N. Gladkovskii, Jan 26 2013
a(n) = i^(-n)*H_{n}(i/2) with i the imaginary unit and H_{n} the Hermite polynomial of degree n. - Alyssa Byrnes and C. Vignat, Jan 31 2013
E.g.f.: -Q(0)/x where Q(k) = 1 - (1+x)/(1 - x/(x - (k+1)/Q(k+1) )); (continued fraction). - Sergei N. Gladkovskii, Mar 06 2013
G.f.: 1/Q(0), where Q(k) = 1 + x*2*k - x/(1 - x*(2*k+2)/Q(k+1)); (continued fraction). - Sergei N. Gladkovskii, Apr 17 2013
E.g.f.: E(0)-1-x-x^2, where E(k) = 2 + 2*x*(1+x) - 8*k^2 + x^2*(1+x)^2*(2*k+3)*(2*k-1)/E(k+1); (continued fraction). - Sergei N. Gladkovskii, Dec 21 2013
E.g.f.: Product_{k>=1} 1/(1 + (-x)^k)^(mu(k)/k). - Ilya Gutkovskiy, May 26 2019
a(n) = Sum_{k=0..floor(n/2)} 2^k*B(n, k), where B are the Bessel numbers A100861. - Peter Luschny, Jun 04 2021

A000898 a(n) = 2*(a(n-1) + (n-1)*a(n-2)) for n >= 2 with a(0) = 1.

Original entry on oeis.org

1, 2, 6, 20, 76, 312, 1384, 6512, 32400, 168992, 921184, 5222208, 30710464, 186753920, 1171979904, 7573069568, 50305536256, 342949298688, 2396286830080, 17138748412928, 125336396368896, 936222729254912, 7136574106003456, 55466948299223040, 439216305474605056, 3540846129311916032
Offset: 0

Comments

Number of solutions to the rook problem on a 2n X 2n board having a certain symmetry group (see Robinson for details).
Also the value of the n-th derivative of exp(x^2) evaluated at 1. - N. Calkin, Apr 22 2010
For n >= 1, a(n) is also the sum of the degrees of the irreducible representations of the group of n X n signed permutation matrices (described in sequence A066051). The similar sum for the "ordinary" symmetric group S_n is in sequence A000085. - Sharon Sela (sharonsela(AT)hotmail.com), Jan 12 2002
It appears that this is also the number of permutations of 1, 2, ..., n+1 such that each term (after the first) is within 2 of some preceding term. Verified for n+1 <= 6. E.g., a(4) = 20 because of the 24 permutations of 1, 2, 3, 4, the only ones not permitted are 1, 4, 2, 3; 1, 4, 3, 2; 4, 1, 2, 3; and 4, 1, 3, 2. - Gerry Myerson, Aug 06 2003
Hankel transform is A108400. - Paul Barry, Feb 11 2008
From Emeric Deutsch, Jun 19 2010: (Start)
Number of symmetric involutions of [2n]. Example: a(2)=6 because we have 1234, 2143, 1324, 3412, 4231, and 4321. See the Egge reference, pp. 419-420.
Number of symmetric involutions of [2n+1]. Example: a(2)=6 because we have 12345, 14325, 21354, 45312, 52341, and 54321. See the Egge reference, pp. 419-420.
(End)
Binomial convolution of sequence A000085: a(n) = Sum_{k=0..n} binomial(n,k)*A000085(k)*A000085(n-k). - Emanuele Munarini, Mar 02 2016
The sequence can be obtained from the infinite product of 2 X 2 matrices [(1,N); (1,1)] by extracting the upper left terms, where N = (1, 3, 5, ...), the odd integers. - Gary W. Adamson, Jul 28 2016
Apparently a(n) is the number of standard domino tableaux of size 2n, where a domino tableau is a generalized Young tableau in which all rows and columns are weakly increasing and all regions are dominos. - Gus Wiseman, Feb 25 2018

Examples

			G.f. = 1 + 2*x + 6*x^2 + 20*x^3 + 76*x^4 + 312*x^5 + 1384*x^6 + 6512*x^7 + ...
The a(3) = 20 domino tableaux:
1 1 2 2 3 3
.
1 2 2 3 3
1
.
1 2 3 3   1 1 3 3   1 1 2 2
1 2       2 2       3 3
.
1 1 3 3   1 1 2 2
2         3
2         3
.
1 2 3   1 2 2   1 1 3
1 2 3   1 3 3   2 2 3
.
1 3 3   1 2 2
1       1
2       3
2       3
.
1 2   1 1   1 1
1 2   2 3   2 2
3 3   2 3   3 3
.
1 3   1 2   1 1
1 3   1 2   2 2
2     3     3
2     3     3
.
1 1
2
2
3
3
.
1
1
2
2
3
3 - _Gus Wiseman_, Feb 25 2018
		

References

  • D. E. Knuth, The Art of Computer Programming. Addison-Wesley, Reading, MA, Vol. 3, Sect 5.1.4 Exer. 31.
  • L. C. Larson, The number of essentially different nonattacking rook arrangements, J. Recreat. Math., 7 (No. 3, 1974), circa pages 180-181.
  • R. W. Robinson, Counting arrangements of bishops, pp. 198-214 of Combinatorial Mathematics IV (Adelaide 1975), Lect. Notes Math., 560 (1976).
  • 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).

Programs

  • Haskell
    a000898 n = a000898_list !! n
    a000898_list = 1 : 2 : (map (* 2) $
       zipWith (+) (tail a000898_list) (zipWith (*) [1..] a000898_list))
    -- Reinhard Zumkeller, Oct 10 2011
    
  • Maple
    # For Maple program see A000903.
    seq(simplify((-I)^n*HermiteH(n, I)), n=0..25); # Peter Luschny, Oct 23 2015
  • Mathematica
    a[n_] := Sum[ 2^k*StirlingS1[n, k]*BellB[k], {k, 0, n}]; Table[a[n], {n, 0, 21}] (* Jean-François Alcover, Nov 17 2011, after Vladeta Jovovic *)
    RecurrenceTable[{a[0]==1,a[1]==2,a[n]==2(a[n-1]+(n-1)a[n-2])},a,{n,30}] (* Harvey P. Dale, Aug 04 2012 *)
    Table[Abs[HermiteH[n, I]], {n, 0, 20}] (* Vladimir Reshetnikov, Oct 22 2015 *)
    a[ n_] := Sum[ 2^(n - 2 k) n! / (k! (n - 2 k)!), {k, 0, n/2}]; (* Michael Somos, Oct 23 2015 *)
  • Maxima
    makelist((%i)^n*hermite(n,-%i),n,0,12); /* Emanuele Munarini, Mar 02 2016 */
  • PARI
    {a(n) = if( n<0, 0, n! * polcoeff( exp(2*x + x^2 + x * O(x^n)), n))}; /* Michael Somos, Feb 08 2004 */
    
  • PARI
    {a(n) = if( n<2, max(0, n+1), 2*a(n-1) + (2*n - 2) * a(n-2))}; /* Michael Somos, Feb 08 2004 */
    
  • PARI
    my(x='x+O('x^66)); Vec(serlaplace(exp(2*x+x^2))) \\ Joerg Arndt, Oct 04 2013
    
  • PARI
    {a(n) = sum(k=0, n\2, 2^(n - 2*k) * n! / (k! * (n - 2*k)!))}; /* Michael Somos, Oct 23 2015 */
    

Formula

a(n) = Sum_{m=0..n} |A060821(n,m)| = H(n,-i)*i^n, with the Hermite polynomials H(n,x); i.e., these are row sums of the unsigned triangle A060821.
E.g.f.: exp(x*(x + 2)).
a(n) = 2 * A000902(n) for n >= 1.
a(n) = Sum_{k=0..n} binomial(n,2k)*binomial(2k,k)*k!*2^(n-2k). - N. Calkin, Apr 22 2010
Binomial transform of A047974. - Paul Barry, May 09 2003
a(n) = Sum_{k=0..n} Stirling1(n, k)*2^k*Bell(k). - Vladeta Jovovic, Oct 01 2003
From Paul Barry, Aug 29 2005: (Start)
a(n) = Sum_{k=0..floor(n/2)} A001498(n-k, k) * 2^(n-k).
a(n) = Sum_{k=0..n} A001498((n+k)/2, (n-k)/2) * 2^((n+k)/2) * (1+(-1)^(n-k))/2. (End)
For asymptotics, see the Robinson paper. [This is disputed by Yen-chi R. Lin. See below, Sep 30 2013.]
a(n) = Sum_{k=0..floor(n/2)} 2^(n-2*k) * C(n,2*k) * (2*k)!/k!. - Paul Barry, Feb 11 2008
G.f.: 1/(1 - 2*x - 2*x^2/(1 - 2*x - 4*x^2/(1 - 2*x - 6*x^2/(1 - 2*x - 8*x^2/(1 - ... (continued fraction). - Paul Barry, Feb 25 2010
E.g.f.: exp(x^2 + 2*x) = Q(0); Q(k) = 1 + (x^2 + 2*x)/(2*k + 1 - (x^2 + 2*x)*(2*k + 1)/((x^2 + 2*x) + (2*k + 2)/Q(k+1))); (continued fraction). - Sergei N. Gladkovskii, Nov 24 2011
G.f.: 1/Q(0), where Q(k) = 1 + 2*x*k - x - x/(1 - 2*x*(k + 1)/Q(k+1) ); (continued fraction). - Sergei N. Gladkovskii, Mar 07 2013
a(n) = (2*n/e)^(n/2) * exp(sqrt(2*n)) / sqrt(2*e) * (1 + sqrt(2/n)/3 + O(n^(-1))). - Yen-chi R. Lin, Sep 30 2013
0 = a(n)*(2*a(n+1) + 2*a(n+2) - a(n+3)) + a(n+1)*(-2*a(n+1) + a(n+2)) for all n >= 0. - Michael Somos, Oct 23 2015
a(n) = Sum_{k=0..floor(n/2)} 2^(n-k)*B(n, k), where B are the Bessel numbers A100861. - Peter Luschny, Jun 04 2021

Extensions

More terms from Larry Reeves (larryr(AT)acm.org), Feb 21 2001
Initial condition a(0)=1 added to definition by Jon E. Schoenfield, Oct 01 2013
More terms from Joerg Arndt, Oct 04 2013

A009235 E.g.f. exp( sinh(x) / exp(x) ) = exp( (1-exp(-2*x))/2 ).

Original entry on oeis.org

1, 1, -1, -1, 9, -23, -25, 583, -3087, 4401, 79087, -902097, 4783801, 2361049, -348382697, 4102879415, -24288551071, -47413121055, 3214104039007, -44472852461857, 326386562502889, 417716032223049, -55104307651136313, 962111031220099495
Offset: 0

Author

Keywords

Comments

Hankel transform is (-1)^binomial(n+1,2)*A108400. - Paul Barry, Apr 15 2010

Crossrefs

Programs

  • Maple
    a := n -> (-2)^n*add(Stirling2(n,k)*(-1/2)^k, k=0..n):
    seq(a(n), n=0..23); # Peter Luschny, Jan 06 2020
  • Mathematica
    With[{nn=30},CoefficientList[Series[Exp[Sinh[x]/Exp[x]],{x,0,nn}],x]Range[0,nn]!] (* Harvey P. Dale, Jan 07 2013 *)
    Table[(-2)^n BellB[n, -1/2], {n, 0, 20}] (* Vladimir Reshetnikov, Oct 20 2015 *)
  • PARI
    x='x+O('x^66); /* that many terms */
    v=Vec(serlaplace(exp(sinh(x)/exp(x)))) /* Joerg Arndt, May 19 2012 */

Formula

a(n) = Sum_{k=0..n} (-2)^(n-k)*Stirling2(n, k). - Vladeta Jovovic, Apr 04 2003
From Peter Bala, May 16 2012: (Start)
Recurrence equation: a(n+1) = Sum_{k = 0..n} (-2)^(n-k)*C(n,k)*a(k). Written umbrally this is a(n+1) = (a-2)^n (expand the binomial and replace a^k with a(k)). More generally, a*f(a) = f(a-2) holds umbrally for any polynomial f(x). An inductive argument then establishes the umbral recurrence a*(a+2)*(a+4)*...*(a+2*(n-1)) = 1 with a(0) = 1. Cf. A004211.
Touchard's congruence holds for odd prime p: a(p+k) = (a(k) + a(k+1)) (mod p) for k = 0,1,2, ... (adapt the proof of Theorem 10.1 in Gessel). In particular, a(p) = 2 (mod p) for odd prime p. (End)
From Sergei N. Gladkovskii, Sep 21 2012 - Oct 24 2013: (Start)
Continued fractions:
G.f.: (1/E(0)-1)/x where E(k)= 1 - x/(1 - 2*x + 2*x*(k+1)/E(k+1));
G.f.: 1 +x/G(0) where G(k)= 1 + 2*x/(1 + 1/(1 + 4*x*(k+1)/G(k+1)));
G.f.: (G(0) - 1)/(x-1) where G(k) = 1 - 1/(1+x*2*k)/(1-x/(x-1/G(k+1)));
G.f.: 1/Q(0) where Q(k)= 1 - x/(1 + 2*x*(k+1)/Q(k+1) );
G.f.: Q(0)/(1-x), where Q(k) = 1 - 2*x^2*(k+1)/( 2*x^2*(k+1) + (1-x+2*x*k)*(1+x+2*x*k)/Q(k+1)). (End)
Lim sup n->infinity (abs(a(n))/n!)^(1/n) / (2*abs(exp(1/LambertW(-2*n)) / LambertW(-2*n))) = 1. - Vaclav Kotesovec, Aug 04 2014
a(n) = (-2)^n*B_n(-1/2), where B_n(x) is n-th Bell polynomial. - Vladimir Reshetnikov, Oct 20 2015
G.f. A(x) satisfies: A(x) = 1 + x*A(x/(1 + 2*x))/(1 + 2*x). - Ilya Gutkovskiy, May 02 2019

Extensions

Extended with signs by Olivier Gérard, Mar 15 1997

A083886 Expansion of e.g.f. exp(3*x)*exp(x^2).

Original entry on oeis.org

1, 3, 11, 45, 201, 963, 4899, 26253, 147345, 862083, 5238459, 32957037, 214117209, 1433320515, 9867008979, 69734001357, 505212273441, 3747124863747, 28418591888235, 220152270759597, 1740363304031721, 14027180742479043, 115176800996769411, 962726355659386125, 8186311912829551281, 70769800810139187843
Offset: 0

Author

Paul Barry, May 09 2003

Keywords

Comments

Binomial transform of A000898.
Hankel transform is A108400. - Paul Barry, Jun 13 2009
a(n) is the number of self-inverse signed permutations of length 2n that are equal to their reverse-complements and avoid the pattern (-2,-1). As a result, a(n) also gives the same thing but for avoiding any one of (-1,-2), (+2,+1) or (+1,+2) instead of (-2,-1) (See the Hardt and Troyka reference). - Justin M. Troyka, Aug 05 2011
a(n) is also the number of skew-symmetric (n,n)-clans, or the number of B-orbits in the symmetric space of type CI, Sp_{2n}(C)/GL_n(C) where B is a Borel subgroup of Sp_{2n}(C). - Aram Bingham, Oct 08 2019

Examples

			Since a(2) = 11, there are 11 self-inverse signed permutations of 4 that are equal to their reverse-complements and avoid (-2,-1). Some of these are: (+3,+4,+1,+2), (+4,-2,-3,+1), (-1,+3,+2,-4), (-1,-2,-3,-4). - _Justin M. Troyka_, Aug 05 2011
		

Crossrefs

Programs

  • Mathematica
    a = {1, 3}; For[n = 2, n < 26, n++, a = Append[a, 3 a[[n]] + 2 (n - 1) a[[n - 1]]]]; a (* Justin M. Troyka, Aug 05 2011 *)
    CoefficientList[Series[Exp[3*x+x^2], {x, 0, 20}], x]* Range[0, 20]! (* Vaclav Kotesovec, Jun 25 2013 *)
    Table[Abs[HermiteH[n, 3 I/2]], {n, 0, 20}] (* Vladimir Reshetnikov, Oct 11 2016 *)
  • PARI
    my(x='x+O('x^26)); Vec(serlaplace(exp(3*x)*exp(x^2))) /* Joerg Arndt, Jul 12 2012 */

Formula

E.g.f.: exp(3*x+x^2).
From Paul Barry, Jun 13 2009: (Start)
G.f.: 1/(1-3x-2x^2/(1-3x-4x^2/(1-3x-6x^2/(1-3x-8x^2/(1-... (continued fraction);
a(n) = Sum_{k=0..floor(n/2)} C(n,2k) * (2k)! * 3^(n-2k) / k!. (End)
a(n) = i^n*Hermite_H(n, -3i/2), i=sqrt(-1). - Paul Barry, Jun 15 2009
a(0) = 1; a(1) = 3; a(n) = 3*a(n-1) + 2*(n-1)*a(n-2) for n >= 2. - Justin M. Troyka, Aug 05 2011
E.g.f. 1 + (x+3)*x/(G(0)-x^2-3*x) where G(k)= x^2 + 3*x + k + 1 - (x+3)*x*(k+1)/G(k+1); (continued fraction, Euler's 1st kind, 1-step). - Sergei N. Gladkovskii, Jul 12 2012
G.f.: 1/Q(0) where Q(k) = 1 + 2*x*k - 2*x - x/(1 - 2*x*(k+1)/Q(k+1) ); (continued fraction). - Sergei N. Gladkovskii, Mar 07 2013
a(n) ~ n^(n/2)*2^(n/2-1/2)*exp(3*sqrt(n/2)-n/2-9/8) * (1+21*sqrt(2)/(32*sqrt(n))). - Vaclav Kotesovec, Jun 25 2013

A186002 Hankel transform of A186001.

Original entry on oeis.org

1, 1, 2, 16, 768, 294912, 1132462080, 52183852646400, 33664847019245568000, 347485857744891213250560000, 64560982045934655213753964953600000, 239901585047846581083822477336190648320000000
Offset: 0

Author

Paul Barry, Feb 09 2011

Keywords

Crossrefs

Programs

  • Mathematica
    Table[2^(1/2*(n - 1)*n)*BarnesG[n + 1], {n, 0, 25}] (* G. C. Greubel, Feb 22 2017 *)

Formula

a(n) = Product_{k=0..n} (2*k+0^k)^(n-k).
a(n+1) = 2^C(n+1,2)*Product_(k!,k,1,n) = A000178(n)*A006125(n+1).
Essentially the same as A108400.
From Alexander R. Povolotsky, Feb 10 2011: (Start)
WolframAlpha shows that
a(n) = (0^n*2^(1/2*(n-1)*n)*exp^(1/12-zeta^(1, 0)(-1, n+1)))/A
where zeta(s, a) is the generalized Riemann zeta function and A is the Glaisher-Kinkelin constant.
WolframAlpha suggests that for all terms given
a(n) = 2^(1/2*(n-1)*n)*G(n+1)
where G(n) is the Barnes G-function. (End)
a(n) ~ 2^(n^2/2) * n^(n^2/2 - 1/12) * Pi^(n/2) / (A * exp(3*n^2/4 - 1/12)), where A is the Glaisher-Kinkelin constant A074962. - Vaclav Kotesovec, Feb 24 2019

A171151 Expansion of (A(x)-1)/(x*A(x)), A(x) the g.f. of A004211.

Original entry on oeis.org

1, 2, 6, 26, 142, 898, 6342, 49114, 412046, 3711746, 35660166, 363484058, 3914162830, 44370673282, 527868672582, 6572992645978, 85461951576974, 1157778354181634, 16310949128381190, 238543136307926810
Offset: 0

Author

Paul Barry, Dec 04 2009

Keywords

Comments

Hankel transform is A108400.

Formula

G.f.: 1/(1-2x/(1-x/(1-4x/(1-x/(1-6x/(1-x/(1-8x/(1-x/(1-... (continued function).
a(n) = Sum_{k=0..n} A086329(n,k)*2^k. - Philippe Deléham, Dec 05 2009
G.f.: 1/U(0) where U(k) = 1 - x - 2*x*k + x*(2*x*k + 2*x - 1)/U(k+1); (continued fraction, Euler's 1st kind, 1-step). - Sergei N. Gladkovskii, Sep 24 2012
G.f.: 1/x - 1/( x*G(0) - 1 ) where G(k) = 1 - (4*x*k-1)/(x - x^4/(x^3 - (4*x*k-1)*(4*x*k+2*x-1)*(4*x*k+4*x-1)/G(k+1) )); (continued fraction). - Sergei N. Gladkovskii, Jan 08 2013
G.f.: (1 - G(0))/x where G(k) = 1 - x/(1 - 2*x*(k + 1)/G(k+1) ); (continued fraction). - Sergei N. Gladkovskii, Jan 30 2013
G.f.: 1/x + 1 - (2*x+1)/(G(0) + 2*x+1), where G(k)= 2*x*k - x - 1 - 2*(k+1)*x^2/G(k+1); (continued fraction). - Sergei N. Gladkovskii, Jul 21 2013
G.f.: 1/x - Q(0)/x, where Q(k) = 1 - x*(2*k+1) - (2*k+2)*x^2/Q(k+1); (continued fraction). - Sergei N. Gladkovskii, Oct 09 2013
Showing 1-8 of 8 results.