OFFSET
0,1
LINKS
FORMULA
G.f.: -x/(1-x).
a(n) = -A057427(n).
a(n) = -((n+2) mod (n+1)) for n >= 0. - Paolo P. Lava, Aug 28 2007
The g.f. f(x) = -x/(1-x) satisfies Babbage's functional equation f(f(x)) = x. - Nikolaos Pantelidis, Apr 13 2022
MATHEMATICA
Table[Sign[-n], {n, 0, 80}] (* Arkadiusz Wesolowski, Sep 16 2012 *)
PROG
(PARI) a(n) = sign(-n); \\ Michel Marcus, Apr 13 2022
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Henry Bottomley, Sep 05 2000
STATUS
proposed