login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A296731
Expansion of e.g.f. sec(x*cos(x)) (even powers only).
6
1, 1, -7, -119, 4241, 216241, -16578871, -1851684743, 236706675617, 48609995386849, -8951725537756135, -3042019551814333463, 738962020041708730673, 387782426903449423831441, -116858640965630479825258519, -90328812874963081877073927719
OFFSET
0,3
FORMULA
a(n) = (2*n)! * [x^(2*n)] sec(x*cos(x)).
EXAMPLE
sec(x*cos(x)) = 1 + x^2/2! - 7*x^4/4! - 119*x^6/6! + 4241*x^8/8! + ...
MATHEMATICA
nmax = 15; Table[(CoefficientList[Series[Sec[x Cos[x]], {x, 0, 2 nmax}], x] Range[0, 2 nmax]!)[[n]], {n, 1, 2 nmax + 1, 2}]
PROG
(PARI) first(n) = x='x+O('x^(2*n-2)); vecextract(Vec(serlaplace(1/cos(x*cos(x)))), (4^n - 1)/3) \\ Iain Fox, Dec 19 2017
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Dec 19 2017
STATUS
approved