cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A303397 Expansion of Product_{k>=1} (1 - 2*x^k)/(1 + 2*x^k).

Original entry on oeis.org

1, -4, 4, -4, 20, -36, 52, -116, 244, -500, 964, -1876, 3876, -7780, 15332, -30628, 61684, -123460, 246036, -491988, 985492, -1971284, 3939556, -7878068, 15762692, -31527428, 63041220, -126078916, 252185044, -504375460, 1008698036, -2017385268, 4034873268
Offset: 0

Views

Author

Seiichi Manyama, Apr 23 2018

Keywords

Crossrefs

Expansion of Product_{k>=1} (1 - b*x^k)/(1 + b*x^k): A002448 (b=1), this sequence (b=2), A303398 (b=3).

Programs

  • Mathematica
    nmax = 40; CoefficientList[Series[Product[(1 - 2*x^k)/(1 + 2*x^k), {k, 1, nmax}], {x, 0, nmax}], x] (* Vaclav Kotesovec, Apr 25 2018 *)
  • PARI
    N=66; x='x+O('x^N); Vec(prod(k=1, N, (1-2*x^k)/(1+2*x^k)))

Formula

a(n) ~ c * (-2)^n, where c = QPochhammer[-1, -1/2]/QPochhammer[-1/2] = 0.93943604828296530723602398257349307281... - Vaclav Kotesovec, Apr 25 2018