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.

Showing 1-2 of 2 results.

A001010 Number of symmetric foldings of a strip of n stamps.

Original entry on oeis.org

1, 2, 2, 4, 6, 8, 18, 20, 56, 48, 178, 132, 574, 348, 1870, 1008, 6144, 2812, 20314, 8420, 67534, 24396, 225472, 74756, 755672, 222556, 2540406, 693692, 8564622, 2107748, 28941258, 6656376, 98011464, 20548932, 332523306, 65573260, 1130110294, 205022836, 3846372944, 659806116, 13109737832, 2084555444, 44735866296, 6755838520
Offset: 1

Views

Author

Keywords

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Programs

  • Mathematica
    A000682 = Import["https://oeis.org/A000682/b000682.txt", "Table"][[All, 2]];
    A007822 = Cases[Import["https://oeis.org/A007822/b007822.txt", "Table"], {, }][[All, 2]];
    a[n_] := Which[n == 1, 1, EvenQ[n], 2*A000682[[n/2 + 1]], OddQ[n], 2*A007822[[(n - 1)/2 + 1]]];
    Array[a, 52] (* Jean-François Alcover, Sep 03 2019, updated Jul 13 2022 *)

Formula

a(1) = 1, a(2n-1) = 2*A007822(n), a(2n) = 2*A000682(n+1). - Sean A. Irvine, Mar 18 2013; corrected by Hunter Hogan, Aug 08 2025

A223096 Number of symmetric meander shapes with 2n+1 crossings.

Original entry on oeis.org

1, 1, 2, 5, 13, 36, 102, 299, 889, 2698, 8267, 25684, 80349, 253872, 806334, 2580279, 8290645, 26794566, 86881179, 283034120, 924521718, 3031535538, 9962795554
Offset: 0

Views

Author

N. J. A. Sloane, Mar 30 2013

Keywords

Comments

Number of symmetric foldings of 2n+1 stamps (A007822) in which end leaves are outwards. [Stéphane Legendre, Apr 09 2013]

Crossrefs

Showing 1-2 of 2 results.