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!)
A102590 Inverse Boustrophedon transform of 2^n. 1

%I #19 Jun 11 2022 03:32:50

%S 1,1,1,0,-3,-14,-39,-130,-263,-1214,-179,-21810,98277,-1021214,

%T 8446881,-82814290,836117617,-9075846014,103898533141,-1257148371570,

%U 16004750729757,-213975589371614,2996827456610601,-43880489398997650,670443584312526697,-10670445866332254014

%N Inverse Boustrophedon transform of 2^n.

%C Binomial transform of (-1)^n*A062162.

%H Alois P. Heinz, <a href="/A102590/b102590.txt">Table of n, a(n) for n = 0..200</a>

%F E.g.f.: exp(2x)/(sec(x)+tan(x)) = cos(x)exp(2x)/(1+sin(x)).

%F a(n) ~ (-1)^n * n^(n+1/2)*2^(n+5/2)/(Pi^(n+1/2)*exp(n+Pi)). - _Vaclav Kotesovec_, Sep 29 2013

%F G.f.: E(0)*x/(x-1)/(1-2*x) + 1/(1-2*x), where E(k) = 1 - x^2*(k+1)*(k+2)/( x^2*(k+1)*(k+2) - 2*(x*(k-1)+1)*(x*k+1)/E(k+1) ); (continued fraction). - _Sergei N. Gladkovskii_, Jan 16 2014

%p a:= n-> n!*coeff(series(exp(2*x)/(sec(x)+tan(x)), x, n+1), x, n):

%p seq(a(n), n=0..30); # _Alois P. Heinz_, Sep 29 2013

%t CoefficientList[Series[Cos[x]*E^(2*x)/(1+Sin[x]), {x, 0, 20}], x]* Range[0, 20]! (* _Vaclav Kotesovec_, Sep 29 2013 *)

%o (Python)

%o from itertools import islice, accumulate

%o from operator import sub

%o def A102590_gen(): # generator of terms

%o blist, m = tuple(), 1

%o while True:

%o yield (blist := tuple(accumulate(reversed(blist),func=sub,initial=m)))[-1]

%o m *= 2

%o A102590_list = list(islice(A102590_gen(),20)) # _Chai Wah Wu_, Jun 10 2022

%Y Cf. A000079, A062162.

%K easy,sign

%O 0,5

%A _Paul Barry_, Jan 22 2005

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 August 13 12:10 EDT 2024. Contains 375139 sequences. (Running on oeis4.)