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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062157 0^n-(-1)^n. 8
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, 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; internal format)
OFFSET

0,1

FORMULA

a(n) =A000007(n)-A033999(n) =A062160(0, n). G.f.: x/(1+x).

a(n)=-[(n+2) mod (n+1)]*(-1)^n, with n>=0. - Paolo P. Lava (paoloplava(AT)gmail.com), Aug 28 2007

Euler transform of length 2 sequence [ -1, 1]. - Michael Somos Jul 05 2009

Moebius transform is length 2 sequence [ 1, -2]. - Michael Somos Jul 05 2009

a(n) is multiplicative with a(2^e) = -1 if e>0, a(p^e) = 1 if p>2. - Michael Somos Jul 05 2009

Dirichlet g.f.: zeta(s) * (1 - 2^(1-s)). - Michael Somos Jul 05 2009

PROG

(PARI) {a(n) = if( n<1, 0, -(-1)^n )} /* Michael Somos Jul 05 2009 */

CROSSREFS

Convolution inverse of A019590.

Sequence in context: A165596 A070238 * A103131 A112347 A057427 A178334

Adjacent sequences:  A062154 A062155 A062156 * A062158 A062159 A062160

KEYWORD

easy,sign,mult

AUTHOR

Henry Bottomley (se16(AT)btinternet.com), Jun 08 2001

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 13 11:34 EST 2012. Contains 205467 sequences.