The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A003703 Expansion of e.g.f. cos(log(1+x)).
(Formerly M2856)
16

%I M2856 #65 Feb 22 2024 12:14:59

%S 1,0,-1,3,-10,40,-190,1050,-6620,46800,-365300,3103100,-28269800,

%T 271627200,-2691559000,26495469000,-238131478000,1394099824000,

%U 15194495654000,-936096296850000,29697351895900000,-819329864480400000,21683886333440500000,-570263312237604700000

%N Expansion of e.g.f. cos(log(1+x)).

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

%H Vaclav Kotesovec, <a href="/A003703/b003703.txt">Table of n, a(n) for n = 0..400</a> (first 100 terms from T. D. Noe)

%H Vaclav Kotesovec, <a href="/A003703/a003703.jpg">Graph a(n+1)/a(n)</a>

%H Vladimir Victorovich Kruchinin, <a href="http://arxiv.org/abs/1009.2565">Composition of ordinary generating functions</a>, arXiv:1009.2565 [math.CO], 2010.

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/PochhammerSymbol.html">Pochhammer Symbol</a>.

%F a(n) = sum{k=0..n-1, (-1)^(k+1)*T(n-k, k)*sin(pi*(n-k-1)/2)}+0^n; T(n, k)=abs(A008276(n, k)). - _Paul Barry_, Apr 18 2005

%F abs(a(n)) = abs(f(n)) with f(n)=prod(i+k,k=1..n) (where i^2=-1). - _Yalcin Aktar_, Jul 13 2009

%F a(n) = Sum_{k=0..floor(n/2)} stirling1(n,2*k)*(-1)^(k). - _Vladimir Kruchinin_, Jan 29 2011

%F a(n+2)= -a(n+1)*(2*n+1) - a(n)*(1+n^2), a(0)=1, a(1)=0. - _Sergei N. Gladkovskii_, Aug 17 2012

%F a(n) = (-1)^n * ( (i)_n + (-i)_n )/2, where (x)_n is the Pochhammer symbol and i is the imaginary unit. - _Seiichi Manyama_, Oct 10 2022

%e 1 - x^2 + 3*x^3 - 10*x^4 + 40*x^5 - 190*x^6 + 1050*x^7 - 6620*x^8 + ...

%p a:= n-> add(Stirling1(n, 2*k) * (-1)^(k), k=0..floor(n/2)):

%p seq(a(n), n=0..20);

%t CoefficientList[Series[Cos[Log[1 + x]], {x, 0, 20}], x] * Range[0, 20]! (* _Vaclav Kotesovec_, Feb 16 2015 *)

%t Table[(-1)^n Im[Pochhammer[1-I, n-1]], {n, 0, 20}] (* _Vladimir Reshetnikov_, Sep 13 2016 *)

%o (PARI) {a(n) = if( n<0, 0, n! * polcoeff( cos( log( 1 + x + x * O(x^n))), n))} /* _Michael Somos_, Jul 26 2012 */

%o (PARI) a(n) = (-1)^n*(prod(k=0, n-1, I+k)+prod(k=0, n-1, -I+k))/2; \\ _Seiichi Manyama_, Oct 10 2022

%o (Python)

%o from sympy.functions.combinatorial.numbers import stirling

%o def A003703(n): return sum(stirling(n,k<<1,kind=1,signed=True)*(-1 if k&1 else 1) for k in range((n>>1)+1)) # _Chai Wah Wu_, Feb 22 2024

%Y Cf. A009024, A009454.

%K easy,sign

%O 0,4

%A _R. H. Hardin_, _Simon Plouffe_

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 June 7 18:53 EDT 2024. Contains 373206 sequences. (Running on oeis4.)