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!)
A165233 Signed denominators of terms in series expansion of cos(x)+sin(x). 0

%I #20 Mar 01 2024 02:03:09

%S 1,1,-2,-6,24,120,-720,-5040,40320,362880,-3628800,-39916800,

%T 479001600,6227020800,-87178291200,-1307674368000,20922789888000,

%U 355687428096000,-6402373705728000,-121645100408832000,2432902008176640000

%N Signed denominators of terms in series expansion of cos(x)+sin(x).

%C Sum(n>=0,1/a(n))=cos(1)+sin(1).

%C Sum(n>=0,(Pi/4)^n/a(n))=sqrt(2).

%C Numerators are in A000012. - _Alois P. Heinz_, Jan 20 2016

%F a(n)=(-1)^floor(n/2)*n! = A057077(n)*A000142(n).

%F a(n)=(sin(n*Pi/2)+cos(n*Pi/2))*n!.

%F a(n)=sqrt(2)*sin((2n+1)*Pi/4)*n!.

%F a(n)=sqrt(2)*cos((2n-1)*Pi/4)*n!.

%F G.f. Q(0) where Q(k)= 1 + x*(4*k+1)/(1 + 2*x*(2*k+1)/(1 - 2*x*(2*k+1) - x*(4*k+3)/(1 + x*(4*k+3) - 4*x*(k+1)/(4*x*(k+1) - 1/Q(k+1))))); (continued fraction, 3rd kind, 5-step). - _Sergei N. Gladkovskii_, Aug 15 2012

%F E.g.f.: (1 + x)/(1 + x^2). - _Ilya Gutkovskiy_, Oct 08 2016

%t Sign@ # Denominator@ # & /@ CoefficientList[Series[Cos@ x + Sin@ x, {x, 0, 20}], x] (* _Michael De Vlieger_, Oct 08 2016 *)

%o (PARI) a(n)=(-1)^(n\2)*n!

%Y Cf. A000012, A000142, A133942, A057077, A143623, A002193.

%K frac,sign,easy

%O 0,3

%A _Jaume Oliver Lafont_, Sep 09 2009

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 25 07:53 EDT 2024. Contains 371964 sequences. (Running on oeis4.)