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.

A348838 Number of 3-sided prudent polygons of area n.

Original entry on oeis.org

6, 10, 20, 42, 92, 204, 454, 1010, 2242, 4962, 10946, 24066, 52736, 115186, 250800, 544432, 1178432, 2543712, 5476352, 11760642, 25196566, 53861008, 114889430, 244571174, 519630462, 1102021562, 2333088968, 4931232086, 10406327848, 21927562520, 46138651012
Offset: 1

Views

Author

Vaclav Kotesovec, following a suggestion from Anthony Guttmann, Nov 02 2021

Keywords

Crossrefs

Programs

  • Mathematica
    nmax = 40; Rest[CoefficientList[Series[2*q*(3 - 10*q + 9*q^2 - q^3)/((1 - 2*q)^2*(1 - q)) - 2*q^3*(1 - q)^2/(1 - 2*q)^2 * Sum[(-1)^m * q^(2*m) / ((1 - 2*q)^m*(1 - q - q^(m + 1))) * Product[(1 - q - q^k + q^(k+1) - q^(k+2)) / (1 - q - q^(k+1)), {k, 1, m-1}], {m, 1, nmax}], {q, 0, nmax}], q]]

Formula

Reference gives generating function and asymptotics.