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!)
A084102 Inverse binomial transform of A084101. 9
1, 2, -2, 0, 4, -8, 8, 0, -16, 32, -32, 0, 64, -128, 128, 0, -256, 512, -512, 0, 1024, -2048, 2048, 0, -4096, 8192, -8192, 0, 16384, -32768, 32768, 0, -65536, 131072, -131072, 0, 262144, -524288, 524288, 0, -1048576, 2097152, -2097152, 0, 4194304, -8388608, 8388608, 0, -16777216, 33554432 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
The sequence {2, -2, 0, 4, -8, 8, 0, -16, 32, -32, 0, 64, -128, 128, 0, ...} (without the leading 1) is the Lucas V(-2, 2) sequence. - R. J. Mathar, Jan 08 2013
LINKS
Wikipedia, Lucas sequence
FORMULA
G.f.: (1+2*x)^2/(1+2*x+2*x^2). - Paul D. Hanna, Nov 05 2009
From G. C. Greubel, Oct 13 2022: (Start)
a(n) = 2*A009116(n-1), n >= 1, with a(0) = 1.
a(n) = Real part of ( 2*(-1-i)^(n-1) + 2*[n=0] ).
a(n) = 2*(-1)^n*(2*(1+i)^(n-5) + i*(1-i)^(n-3)), n >= 1, with a(0) = 1.
E.g.f.: 2 - exp(-x)*(cos(x) - sin(x)). (End)
MATHEMATICA
LinearRecurrence[{-2, -2}, {1, 2, -2}, 50] (* Harvey P. Dale, Aug 09 2017 *)
PROG
(Magma) [1] cat [n le 2 select 2*(-1)^(n-1) else -2*(Self(n-1) +Self(n-2)): n in [1..40]]; // G. C. Greubel, Oct 13 2022
(SageMath)
b=BinaryRecurrenceSequence(-2, -2, 2, -2)
def A084102(n): return 1 if (n==0) else b(n-1)
[A084102(n) for n in range(41)] # G. C. Greubel, Oct 13 2022
CROSSREFS
Yet another variation on A009545.
Sequence in context: A108520 A099087 A009545 * A221609 A160125 A151868
KEYWORD
sign,easy
AUTHOR
Paul Barry, May 15 2003
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 19 14:50 EDT 2024. Contains 371792 sequences. (Running on oeis4.)