|
Search: id:A128834
|
|
|
| A128834 |
|
Periodic sequence 0,1,1,0,-1,-1,... |
|
+0 9
|
|
| 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1
(list; graph; listen)
|
|
|
OFFSET
|
0,1
|
|
|
COMMENT
|
Unsigned version in A011655 .
|
|
FORMULA
|
a(0)=0, a(1)=1,a(n+1)=a(n)-a(n-1) for n>=1 . G.f.:x*(1+x)/(1+x^3) .
Euler transform of length 6 sequence [ 1, -1, -1, 0, 0, 1]. - Michael Somos Apr 15 2007
G.f. A(x) satisfies 0= f(A(x), A(x^2)) where f(u, v)= v -u^2 +2*u*v -2*u^2*v . - Michael Somos Apr 15 2007
G.f. A(x) satisfies 0= f(A(x), A(x^3)) where f(u, v)= v -u^3 +3*u*v -3*u^3*v . - Michael Somos Apr 15 2007
a(n)=(1/6)*{-(n mod 6)+[(n+2) mod 6]+[(n+3) mod 6]-[(n+5) mod 6]}, with n>=0 - Paolo P. Lava (ppl(AT)spl.at), Jun 11 2007
a(n) = A010892(n-1) . - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 08 2008
a(n) is multiplicative with a(3^e) = 0^e, a(p^e) = 1 if p == 1 (mod 3), a(p^e) = (-1)^e if p == 2 (mod 3) . - Michael Somos Apr 15 2007
a(n)=2sin(n*pi/3)/sqrt(3) [From Jaume Oliver Lafont (joliverlafont(AT)gmail.com), Dec 05 2008]
|
|
EXAMPLE
|
x + x^2 - x^4 - x^5 + x^7 + x^8 - x^10 - x^11 + x^13 + x^14 - x^16 + ...
|
|
PROGRAM
|
(PARI) {a(n)= [0, 1, 1, 0, -1, -1][n%6 +1]}
|
|
CROSSREFS
|
a(n)=A010892(n+5) [From Jaume Oliver Lafont (joliverlafont(AT)gmail.com), Dec 05 2008]
Sequence in context: A092220 A011655 A102283 this_sequence A022928 A000494 A022933
Adjacent sequences: A128831 A128832 A128833 this_sequence A128835 A128836 A128837
|
|
KEYWORD
|
sign,mult
|
|
AUTHOR
|
Philippe DELEHAM (kolotoko(AT)wanadoo.fr), Apr 13 2007
|
|
|
Search completed in 0.002 seconds
|