This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A248155 Expansion of (1 + x - x^2)/((1 + x)*(1 + 2*x)). 1
 1, -2, 3, -5, 9, -17, 33, -65, 129, -257, 513, -1025, 2049, -4097, 8193, -16385, 32769, -65537, 131073, -262145, 524289, -1048577, 2097153, -4194305, 8388609, -16777217, 33554433, -67108865, 134217729, -268435457, 536870913 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 COMMENTS Alternating row sums of A105810. Riordan triangle ((1 + x - x^2)/(1 + x)^2, x/(1 + x)). LINKS Index entries for linear recurrences with constant coefficients, signature (-3,-2). FORMULA O.g.f.: (1+x-x^2)/((1+x)*(1+2*x)). a(n) = (3/2)*b(n) + (5/2)*b(n-1), n>=1, a(0) = 1, with b(n) = A225883(n+1). a(n) = (-1)^n*(1 + 2^(n-1)), n>=1, a(0) = 1. PROG (PARI) Vec((1 + x - x^2)/((1 + x)*(1 + 2*x)) + O (x^40)) \\ Michel Marcus, Oct 11 2014 CROSSREFS Cf. A105810, A094373. Sequence in context: A005257 A091697 A109740 * A000051 A094373 A213705 Adjacent sequences:  A248152 A248153 A248154 * A248156 A248157 A248158 KEYWORD sign,easy AUTHOR Wolfdieter Lang, Oct 04 2014 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified May 22 00:25 EDT 2019. Contains 323472 sequences. (Running on oeis4.)