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.

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

This page as a plain text file.
%I A014182 #74 Dec 04 2024 11:26:56
%S A014182 1,0,-1,1,2,-9,9,50,-267,413,2180,-17731,50533,110176,-1966797,
%T A014182 9938669,-8638718,-278475061,2540956509,-9816860358,-27172288399,
%U A014182 725503033401,-5592543175252,15823587507881,168392610536153,-2848115497132448,20819319685262839
%N A014182 Expansion of e.g.f. exp(1-x-exp(-x)).
%C A014182 E.g.f. A(x) = y satisfies (y + y' + y'') * y - y'^2 = 0. - _Michael Somos_, Mar 11 2004
%C A014182 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 A014182 Equals row sums of triangle A143987 and (shifted) = right border of A143987. [_Gary W. Adamson_, Sep 07 2008]
%C A014182 From _Gary W. Adamson_, Dec 31 2008: (Start)
%C A014182 Equals the eigensequence of the inverse of Pascal's triangle, A007318.
%C A014182 Binomial transform shifts to the right: (1, 1, 0, -1, 1, 2, -9, ...).
%C A014182 Double binomial transform = A109747. (End)
%C A014182 Convolved with A154107 = A000110, the Bell numbers. - _Gary W. Adamson_, Jan 04 2009
%H A014182 Vincenzo Librandi, <a href="/A014182/b014182.txt">Table of n, a(n) for n = 0..200</a>
%H A014182 Mohammad Ghorbani, Mehdi Hassani, and Hossein Moshtagh, <a href="https://doi.org/10.7546/nntdm.2024.30.4.832-842">Moments and asymptotic expansion of derangement polynomials in terms of Touchard polynomials</a>, Notes Num. Theor. Disc. Math. (2024) Vol. 30, No. 4, 832-842. See pp. 834, 839.
%F A014182 E.g.f.: exp(1-x-exp(-x)).
%F A014182 a(n) = Sum_{k=0..n} (-1)^(n-k)*Stirling2(n+1,k+1). - _Paul D. Hanna_, Aug 12 2006
%F A014182 A000587(n+1) = -a(n). - _Michael Somos_, May 12 2012
%F A014182 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 A014182 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 A014182 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 A014182 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 A014182 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 A014182 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 A014182 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 A014182 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 A014182 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 A014182 a(n) = exp(1) * (-1)^n * Sum_{k>=0} (-1)^k * (k + 1)^n / k!. - _Ilya Gutkovskiy_, Dec 20 2019
%e A014182 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 A014182 With[{nn=30},CoefficientList[Series[Exp[1-x-Exp[-x]],{x,0,nn}],x] Range[0,nn]!]  (* _Harvey P. Dale_, Jan 15 2012 *)
%t A014182 a[ n_] := SeriesCoefficient[ (1 - Sum[ k / Pochhammer[ 1/x + 1, k], {k, n}]) / (1 - x), {x, 0, n} ]; (* _Michael Somos_, Nov 07 2014 *)
%o A014182 (PARI) {a(n)=sum(j=0,n,(-1)^(n-j)*Stirling2(n+1,j+1))}
%o A014182 {Stirling2(n,k)=(1/k!)*sum(i=0,k,(-1)^(k-i)*binomial(k,i)*i^n)} \\ _Paul D. Hanna_, Aug 12 2006
%o A014182 (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 A014182 (Sage)
%o A014182 def A014182_list(len):  # len>=1
%o A014182     T = [0]*(len+1); T[1] = 1; R = [1]
%o A014182     for n in (1..len-1):
%o A014182         a,b,c = 1,0,0
%o A014182         for k in range(n,-1,-1):
%o A014182             r = a - k*b - (k+1)*c
%o A014182             if k < n : T[k+2] = u;
%o A014182             a,b,c = T[k-1],a,b
%o A014182             u = r
%o A014182         T[1] = u; R.append(u)
%o A014182     return R
%o A014182 A014182_list(27)  # _Peter Luschny_, Nov 01 2012
%Y A014182 Essentially same as A000587. See also A014619.
%Y A014182 Cf. A025016.
%Y A014182 Cf. A143987, A109747, A154107, A000110.
%K A014182 sign,easy,nice
%O A014182 0,5
%A A014182 _Noam D. Elkies_