|
|
A154955
|
|
a(1) = 1, a(2) = -1, followed by 0, 0, 0, ... .
|
|
13
|
|
|
1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
G.f.: A(x) = x - x^2 = x / (1 + x / (1 - x)). - Michael Somos, Jan 03 2013
a(n) = [n = 1] - [n = 2], where [] is the Iverson bracket. - Wesley Ivan Hurt, Jun 22 2024
|
|
MATHEMATICA
|
|
|
PROG
|
|
|
CROSSREFS
|
Cf. A000035, A036987, A063524, A019590, A000012, A000027, A026741, A008683, A092673, A000005, A001227. - Jaroslav Krizek, Mar 21 2009
|
|
KEYWORD
|
sign,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|