|
|
A339265
|
|
Expansion of Product_{n >= 1} (1 - x^(2*n))*(1 - x^(2*n-1))*(1 - x^(2*n+1)).
|
|
2
|
|
|
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
|
|
COMMENTS
|
The sequence consists of a 1, followed by three negative ones, followed by five ones, followed by seven negative ones, and so on.
|
|
LINKS
|
|
|
FORMULA
|
O.g.f.: A(x) = theta_4(x)/(1 - x) = 1/(1 - x) * Sum_{n >= 0 } (-1)^n*x^(n^2), where theta_4(x) is the Jacobi theta function - see A002448. Note 1/A(x) is the generating function for A211971.
|
|
MAPLE
|
series( (1 + 2*add((-1)^n*x^(n^2), n = 1..10))/(1 - x), x, 101);
|
|
CROSSREFS
|
|
|
KEYWORD
|
sign,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|