The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A137447 a(n) = 4*a(n-4) for n>3, a(0)=-1, a(1)=-4, a(2)=2, a(3)=12. 1
-1, -4, 2, 12, -4, -16, 8, 48, -16, -64, 32, 192, -64, -256, 128, 768, -256, -1024, 512, 3072, -1024, -4096, 2048, 12288, -4096, -16384, 8192, 49152, -16384, -65536, 32768, 196608, -65536, -262144, 131072, 786432, -262144, -1048576, 524288, 3145728, -1048576 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: (1+4*x-2*x^2-12*x^3)/(4*x^4-1). - Harvey P. Dale, Jun 27 2011
From Bruno Berselli, Nov 02 2011: (Start)
a(n) = (1-(-1)^n-2*(3-2*(-1)^n)*(-1)^floor(n/2))*2^(floor(n/2)-1).
a(2n) = -A122803(n).
a(2n+1) = (-1)^(n+1)*A084221(n+2). (End)
E.g.f.: (1/sqrt(2))*( sinh(sqrt(2)*x) - 5*sin(sqrt(2)*x) - sqrt(2)*cos(sqrt(2)*x) ). - G. C. Greubel, Sep 15 2023
MATHEMATICA
LinearRecurrence[{0, 0, 0, 4}, {-1, -4, 2, 12}, 50] (* or *) CoefficientList[ Series[(1+4x-2x^2-12x^3)/(4x^4-1), {x, 0, 50}], x] (* Harvey P. Dale, Jun 27 2011 *)
PROG
(Magma) &cat[[-(-2)^n, 2^n-5*(-2)^n]: n in [0..20]]; // Bruno Berselli, Nov 02 2011
(SageMath)
def A137447(n): return 2^(n//2)*(-1)^(n//2+1) if n%2==0 else 2^((n-1)//2)*(1 - 5*(-1)^((n-1)//2))
[A137447(n) for n in range(51)] # G. C. Greubel, Sep 15 2023
CROSSREFS
Sequence in context: A188134 A226725 A354190 * A353749 A077015 A077016
KEYWORD
sign,easy
AUTHOR
Paul Curtz, Apr 18 2008
EXTENSIONS
More terms from Harvey P. Dale, Jun 27 2011
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 May 20 08:05 EDT 2024. Contains 372703 sequences. (Running on oeis4.)