|
|
A131379
|
|
Period 4: repeat [1, 0, -1, 1].
|
|
0
|
|
|
1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1, 1, 0, -1, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 1/4 + cos(1/2*Pi*n) - 1/2*sin(1/2*Pi*n) + 1/4*(-1)^(1+n). - R. J. Mathar, Nov 15 2007
G.f.: (1-x^2+x^3) / ((1-x)*(1+x)*(x^2+1)). - R. J. Mathar, Jun 02 2011
|
|
MAPLE
|
|
|
MATHEMATICA
|
CoefficientList[Series[(1 - x^2 + x^3)/((1 - x) (1 + x) (x^2 + 1)), {x, 0, 80}], x] (* Michael De Vlieger, Dec 23 2016 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
sign,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|