login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A009125 Expansion of e.g.f. cosh(log(1+tan(x))). 2
1, 0, 1, -3, 20, -120, 976, -8568, 88640, -1011840, 12933376, -180964608, 2767631360, -45799004160, 816582578176, -15594628021248, 317710534983680, -6876762625966080, 157606194409701376, -3812723805066559488 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..250

FORMULA

a(n) ~ n! * (-1)^n * 4^n / Pi^(n+1). - Vaclav Kotesovec, Jan 22 2015

MATHEMATICA

CoefficientList[Series[(1 + (1 + Tan[x])^2)/(2*(1 + Tan[x])), {x, 0, 20}], x] * Range[0, 20]! (* Vaclav Kotesovec, Jan 22 2015 *)

PROG

(PARI) x='x+O('x^30); Vec(serlaplace(cosh(log(1+tan(x))))) \\ G. C. Greubel, Jul 28 2018

(MAGMA) m:=30; R<x>:=PowerSeriesRing(Rationals(), m); b:=Coefficients(R!(Cosh(Log(1+Tan(x))))); [Factorial(n-1)*b[n]: n in [1..m]]; // G. C. Greubel, Jul 28 2018

CROSSREFS

Sequence in context: A037788 A037669 A228066 * A037795 A228750 A187442

Adjacent sequences:  A009122 A009123 A009124 * A009126 A009127 A009128

KEYWORD

sign,easy

AUTHOR

R. H. Hardin

EXTENSIONS

Extended with signs by Olivier Gérard, Mar 15 1997

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 12 09:41 EST 2018. Contains 318054 sequences. (Running on oeis4.)