The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A129355 G.f.: A(x) = Product_{n>=1} [ (1-x)^2*(1 + 2x + 3x^2 +...+ n*x^(n-1)) ]. 3
1, -2, -2, 4, -1, 12, -26, 38, -51, 6, 98, -190, 138, 60, 132, -1296, 2990, -3738, 3350, -3752, 4077, 1194, -12272, 18528, -14848, 9018, -2002, 5644, -86729, 290596, -514158, 611070, -603150, 657792, -952808, 1406568, -1208636, -635286, 3507362, -5062866, 3791614 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
a(k) == 1 (mod 2) at k = 4*A001318(n) for n>=0, where A001318 are the generalized pentagonal numbers: m(3m-1)/2, m=0,+-1,+-2,....
LINKS
FORMULA
G.f.: A(x) = Product_{n>=1} ( 1 - (n+1)*x^n + n*x^(n+1) ) . G.f.: A(x) = Product_{n>=1} [ (1-x)*(1 + x + x^2 +...+ x^(n-1) - n*x^n) ] .
EXAMPLE
A(x) = (1 - 2x + x^2)(1 - 3x^2 + 2x^3)(1 - 4x^3 + 3x^4)(1 - 5x^4 + 4x^5)*...
Terms are even except at positions given by:
a(n) == 1 (mod 2) at n = [0, 4, 8, 20, 28, 48, 60, 88,...,4*A001318(n),...].
PROG
(PARI) a(n)=if(n==0, 1, polcoeff(prod(k=1, n, 1-(k+1)*x^k+k*x^(k+1)+x*O(x^n)), n))
CROSSREFS
Sequence in context: A243548 A105478 A114427 * A080963 A133692 A033715
KEYWORD
sign
AUTHOR
Paul D. Hanna, Apr 10 2007
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 15 06:57 EDT 2024. Contains 372538 sequences. (Running on oeis4.)