The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A105812 Expansion of (1+x-x^2)/(1+x). 2
 1, 0, -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 Row sums of number triangle A105810. LINKS Index entries for linear recurrences with constant coefficients, signature (-1). FORMULA a(n)=-(-1)^n-binomial(1, n)+3*binomial(0, n) a(n)=A033999(n-1), n>1. - R. J. Mathar, Aug 28 2008 MATHEMATICA LinearRecurrence[{-1}, {1, 0, -1}, 78] (* Ray Chandler, Jul 30 2015 *) PROG (PARI) a(n)=if(n<2, 1-n, -(-1)^n) \\ Charles R Greathouse IV, Jun 06 2013 CROSSREFS Sequence in context: A079054 A131695 A324113 * A134323 A060576 A261012 Adjacent sequences:  A105809 A105810 A105811 * A105813 A105814 A105815 KEYWORD easy,sign AUTHOR Paul Barry, May 04 2005 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 January 19 06:37 EST 2020. Contains 331033 sequences. (Running on oeis4.)