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!)
A014182 Expansion of e.g.f. exp(1-x-exp(-x)). 17

%I #70 Feb 10 2024 11:34:03

%S 1,0,-1,1,2,-9,9,50,-267,413,2180,-17731,50533,110176,-1966797,

%T 9938669,-8638718,-278475061,2540956509,-9816860358,-27172288399,

%U 725503033401,-5592543175252,15823587507881,168392610536153,-2848115497132448,20819319685262839

%N Expansion of e.g.f. exp(1-x-exp(-x)).

%C E.g.f. A(x) = y satisfies (y + y' + y'') * y - y'^2 = 0. - _Michael Somos_, Mar 11 2004

%C The 10-adic sum: B(n) = Sum_{k>=0} k^n*k! simplifies to: B(n) = A014182(n)*B(0) + A014619(n) for n>=0, where B(0) is the 10-adic sum of factorials (A025016); a result independent of base. - _Paul D. Hanna_, Aug 12 2006

%C Equals row sums of triangle A143987 and (shifted) = right border of A143987. [_Gary W. Adamson_, Sep 07 2008]

%C From _Gary W. Adamson_, Dec 31 2008: (Start)

%C Equals the eigensequence of the inverse of Pascal's triangle, A007318.

%C Binomial transform shifts to the right: (1, 1, 0, -1, 1, 2, -9, ...).

%C Double binomial transform = A109747. (End)

%C Convolved with A154107 = A000110, the Bell numbers. - _Gary W. Adamson_, Jan 04 2009

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

%F E.g.f.: exp(1-x-exp(-x)).

%F a(n) = Sum_{k=0..n} (-1)^(n-k)*Stirling2(n+1,k+1). - _Paul D. Hanna_, Aug 12 2006

%F A000587(n+1) = -a(n). - _Michael Somos_, May 12 2012

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

%F G.f.: 1/(U(0) - x) where U(k) = 1 + x*(k+1)/(1 - x/U(k+1)); (continued fraction). - _Sergei N. Gladkovskii_, Nov 12 2012

%F G.f.: (G(0) - 1)/(x-1) where G(k) = 1 - 1/(1+k*x+x)/(1-x/(x-1/G(k+1) )); (continued fraction). - _Sergei N. Gladkovskii_, Jan 17 2013

%F G.f.: G(0)/(1+x)-1 where G(k) = 1 + 1/(1 + k*x - x*(1+k*x)*(1+k*x+x)/(x*(1+k*x+x) + (1+k*x+2*x)/G(k+1) )); (continued fraction). - _Sergei N. Gladkovskii_, Feb 09 2013

%F G.f.: S-1 where S = Sum_{k>=0} (2 + x*k)*x^k/Product_{i=0..k} (1+x+x*i). - _Sergei N. Gladkovskii_, Feb 09 2013

%F G.f.: G(0)*x^2/(1+x)/(1+2*x) + 2/(1+x) - 1 where G(k) = 1 + 2/(x + k*x - x^3*(k+1)*(k+2)/(x^2*(k+2) + 2*(1+k*x+3*x)/G(k+1) )); (continued fraction). - _Sergei N. Gladkovskii_, Feb 09 2013

%F G.f.: 1/(x*Q(0)) -1/x, where Q(k) = 1 - x/(1 + (k+1)*x/Q(k+1) ); (continued fraction). - _Sergei N. Gladkovskii_, Sep 27 2013

%F G.f.: G(0)/(1-x)/x - 1/x, where G(k) = 1 - x^2*(k+1)/(x^2*(k+1) + (x*k + 1 - x)*(x*k + 1)/G(k+1) ); (continued fraction). - _Sergei N. Gladkovskii_, Feb 06 2014

%F G.f.: (1 - Sum_{k>0} k * x^k / ((1 + x) * (1 + 2*x) + ... (1 + k*x))) / (1 - x). - _Michael Somos_, Nov 07 2014

%F a(n) = exp(1) * (-1)^n * Sum_{k>=0} (-1)^k * (k + 1)^n / k!. - _Ilya Gutkovskiy_, Dec 20 2019

%e G.f. = 1 - x^2 + x^3 + 2*x^4 - 9*x^5 + 9*x^6 + 50*x^7 - 267*x^8 + 413*x^9 + ...

%t With[{nn=30},CoefficientList[Series[Exp[1-x-Exp[-x]],{x,0,nn}],x] Range[0,nn]!] (* _Harvey P. Dale_, Jan 15 2012 *)

%t a[ n_] := SeriesCoefficient[ (1 - Sum[ k / Pochhammer[ 1/x + 1, k], {k, n}]) / (1 - x), {x, 0, n} ]; (* _Michael Somos_, Nov 07 2014 *)

%o (PARI) {a(n)=sum(j=0,n,(-1)^(n-j)*Stirling2(n+1,j+1))}

%o {Stirling2(n,k)=(1/k!)*sum(i=0,k,(-1)^(k-i)*binomial(k,i)*i^n)} \\ _Paul D. Hanna_, Aug 12 2006

%o (PARI) {a(n) = if( n<0, 0, n! * polcoeff( exp( 1 - x - exp( -x + x * O(x^n))), n))} /* _Michael Somos_, Mar 11 2004 */

%o (Sage)

%o def A014182_list(len): # len>=1

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

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

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

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

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

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

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

%o u = r

%o T[1] = u; R.append(u)

%o return R

%o A014182_list(27) # _Peter Luschny_, Nov 01 2012

%Y Essentially same as A000587. See also A014619.

%Y Cf. A025016.

%Y Cf. A143987, A109747, A154107, A000110.

%K sign,easy,nice

%O 0,5

%A _Noam D. Elkies_

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 April 24 13:49 EDT 2024. Contains 371958 sequences. (Running on oeis4.)