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!)
A352151 Expansion of e.g.f. 1/(cos(x) - tan(x)). 2
1, 1, 3, 14, 81, 616, 5523, 58064, 697281, 9417856, 141368643, 2334020864, 42039523281, 820296426496, 17237259945363, 388087200241664, 9320064293358081, 237814050877505536, 6425096888209255683, 183232685725482942464, 5500505587921088841681 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(0) = 1; a(n) = Sum_{k=1..n} b(k) * binomial(n,k) * a(n-k), where b(k) = A000182((k+1)/2) if k is odd, otherwise (-1)^(k/2+1).
From Vaclav Kotesovec, Mar 06 2022: (Start)
a(n) ~ n! / (sqrt(5) * (arctan(sqrt((sqrt(5) - 1)/2)))^(n+1)).
a(n) ~ n! / (sqrt(5) * A175288^(n+1)). (End)
MATHEMATICA
m = 20; Range[0, m]! * CoefficientList[Series[1/(Cos[x] - Tan[x]), {x, 0, m}], x] (* Amiram Eldar, Mar 06 2022 *)
PROG
(PARI) my(N=40, x='x+O('x^N)); Vec(serlaplace(1/(cos(x)-tan(x))))
(PARI) c(n) = ((-4)^n-(-16)^n)*bernfrac(2*n)/(2*n);
b(n) = if(n%2==1, c((n+1)/2), (-1)^(n/2+1));
a(n) = if(n==0, 1, sum(k=1, n, b(k)*binomial(n, k)*a(n-k)));
CROSSREFS
Sequence in context: A355291 A325219 A205580 * A032332 A032080 A367078
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Mar 06 2022
STATUS
approved

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 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)