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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138189 Sequence built on pattern (1,-even,-even) beginning 1,-2,-2. 1
1, -2, -2, 1, -4, -4, 1, -6, -6, 1, -8, -8, 1, -10, -10, 1, -12, -12, 1, -14, -14, 1, -16, -16, 1, -18, -18, 1, -20, -20, 1, -22, -22, 1, -24, -24, 1, -26, -26, 1, -28, -28, 1, -30, -30, 1, -32, -32, 1, -34, -34, 1, -36, -36, 1, -38, -38, 1, -40, -40 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

Partial sums of A138188.

FORMULA

G.f.: (1-2x-2x^2-x^3)/(1-2x^3+x^6)

MATHEMATICA

Join[{1}, Riffle[Flatten[{-2#, -2#}&/@Range[25]], 1, 3]] (* From Harvey P. Dale, Nov 02 2011 *)

CROSSREFS

Sequence in context: A023616 A099491 A129862 * A110090 A196831 A092848

Adjacent sequences:  A138186 A138187 A138188 * A138190 A138191 A138192

KEYWORD

easy,sign

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Mar 04 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 23:34 EST 2012. Contains 205860 sequences.