login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A165326 a(0)=a(1)=1, a(n)=-a(n-1) for n>1. 5
1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

Inverse binomial transform of A040000(n) = 1,2,2,2,2,... ; binomial transform of (-1)^(n+1)*A000918(n) = 1,0,-2,6,-14,30,-62,... [From Philippe Deléham, Sep 16 2009]

This is also the Z-sequence of the Riordan triangle A105809. See the W. Lang link under A006232 for Riordan A- and Z-sequences. - Wolfdieter Lang, Oct 04 2014

LINKS

Table of n, a(n) for n=0..83.

Index entries for linear recurrences with constant coefficients, signature (-1).

FORMULA

G.f.: (1+2x)/(1+x). E.g.f.: 2-exp(-x).

a(n)=(-1)^(n+1)+2*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Sep 16 2009]

MATHEMATICA

PadRight[{1}, 120, {-1, 1}] (* Harvey P. Dale, Dec 04 2012 *)

Join[{1}, LinearRecurrence[{-1}, {1}, 83]] (* Ray Chandler, Aug 12 2015 *)

CROSSREFS

Cf. A033999

Sequence in context: A014077 A174351 A181432 * A143621 A098417 A143622

Adjacent sequences:  A165323 A165324 A165325 * A165327 A165328 A165329

KEYWORD

easy,sign,mult

AUTHOR

Philippe Deléham, Sep 14 2009

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 20 10:37 EST 2018. Contains 299385 sequences. (Running on oeis4.)