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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A057428 Sign(-n): a(n) = 1 if -n > 0, = -1 if -n < 0, = 0 if n = 0. 4
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

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

FORMULA

G.f.: -x/(1-x). a(n) = -A057427(n).

a(n)=-[(n+2) mod (n+1)], with n>=0. - Paolo P. Lava, Aug 28 2007

MATHEMATICA

Table[Sign[-n], {n, 0, 80}] (* Arkadiusz Wesolowski, Sep 16 2012 *)

CROSSREFS

First differences of A001489.

Sequence in context: A165471 A165481 A165573 * A165574 A165581 A165586

Adjacent sequences:  A057425 A057426 A057427 * A057429 A057430 A057431

KEYWORD

easy,sign

AUTHOR

Henry Bottomley, Sep 05 2000

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 20 18:21 EST 2019. Contains 329337 sequences. (Running on oeis4.)