login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A124311 a(n) = Sum_{i=0..n} (-2)^i*binomial(n,i)*B(i) where B(n) = Bell numbers A000110(n). 14

%I #34 Nov 29 2023 13:06:08

%S 1,-1,5,-21,121,-793,5917,-49101,447153,-4421105,47062773,-535732805,

%T 6484924585,-83079996041,1121947980173,-15915567647101,

%U 236442490569825,-3668776058118881,59316847871113445,-997182232031471477,17397298225094055897,-314449131128077197561

%N a(n) = Sum_{i=0..n} (-2)^i*binomial(n,i)*B(i) where B(n) = Bell numbers A000110(n).

%C The sequence has strictly alternating signs. The variant Dobinski-type formula e^(-1)* (2)^n * Sum_{k >= 0} ( (k-1/2)^n / k! ) is strictly positive. - _Karol A. Penson_ and _Olivier Gérard_, Oct 22 2007

%H Vincenzo Librandi, <a href="/A124311/b124311.txt">Table of n, a(n) for n = 0..200</a>

%F E.g.f.: exp(exp(-2*x) - 1 + x). - _Vladeta Jovovic_, Aug 04 2007

%F G.f.: 1/U(0) where U(k)= 1 + x*(2*k+1) - 4*x^2*(k+1)/U(k+1) ; (continued fraction, 1-step). - _Sergei N. Gladkovskii_, Oct 11 2012

%F a(n) ~ (-2)^n * n^(n - 1/2) * exp(n/LambertW(n) - n - 1) / (sqrt(1 + LambertW(n)) * LambertW(n)^(n - 1/2)). - _Vaclav Kotesovec_, Jun 26 2022

%F a(0) = 1; a(n) = a(n-1) + Sum_{k=1..n} binomial(n-1,k-1) * (-2)^k * a(n-k). - _Ilya Gutkovskiy_, Nov 29 2023

%t Table[ Sum[ (-2)^(k) Binomial[n, k] BellB[k], {k, 0, n}], {n, 0, 50}] (* _Karol A. Penson_ and _Olivier Gérard_, Oct 22 2007 *)

%t With[{nn=30},CoefficientList[Series[Exp[Exp[-2x]-1+x],{x,0,nn}],x] Range[0,nn]!] (* _Harvey P. Dale_, Mar 04 2016 *)

%o (Sage)

%o def A124311_list(n): # n>=1

%o T = [0]*(n+1); R = [1]

%o for m in (1..n-1):

%o a,b,c = 1,0,0

%o for k in range(m,-1,-1):

%o r = a + 2*(k*(b+c)+c)

%o if k < m : T[k+2] = u;

%o a,b,c = T[k-1],a,b

%o u = r

%o T[1] = u;

%o R.append((-1)^m*sum(T))

%o return R

%o A124311_list(22) # _Peter Luschny_, Nov 02 2012

%o (SageMath)

%o def A124311(n): return sum( (-2)^k*binomial(n,k)*bell_number(k) for k in range(n+1) )

%o [A124311(n) for n in range(31)] # _G. C. Greubel_, Aug 25 2023

%o (Magma)

%o A124311:= func< n | (&+[(-2)^k*Binomial(n,k)*Bell(k): k in [0..n]]) >;

%o [A124311(n): n in [0..30]]; // _G. C. Greubel_, Aug 25 2023

%Y Cf. A000110, A000296, A005493, A126390, A126617.

%K sign

%O 0,3

%A _N. J. A. Sloane_, Aug 04 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 29 15:02 EDT 2024. Contains 374734 sequences. (Running on oeis4.)