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.

A181972 Number of integer pairs (x,y) such that 0

Original entry on oeis.org

0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 6, 6, 7, 7, 9, 9, 10, 10, 12, 12, 13, 13, 16, 16, 17, 17, 19, 19, 21, 21, 23, 23, 24, 24, 27, 27, 28, 28, 31, 31, 33, 33, 35, 35, 36, 36, 40, 40, 41, 41, 43, 43, 45, 45, 48, 48, 49, 49, 53, 53, 54, 54, 57, 57, 59, 59, 61, 61, 63, 63, 67
Offset: 1

Views

Author

Clark Kimberling, Apr 06 2012

Keywords

Comments

For a guide to related sequences, see A211266.

Crossrefs

Cf. A211266.

Programs

  • Mathematica
    a = 1; b = n; z1 = 120;
    t[n_] := t[n] = Flatten[Table[x*y, {x, a, b - 1},
     {y, x + 1, b}]]
    c[n_, k_] := c[n, k] = Count[t[n], k]
    Table[c[n, n], {n, 1, z1}]           (* A056924 *)
    Table[c[n, n + 1], {n, 1, z1}]       (* A211159 *)
    Table[c[n, 2*n], {n, 1, z1}]         (* A211261 *)
    Table[c[n, 3*n], {n, 1, z1}]         (* A211262 *)
    Table[c[n, Floor[n/2]], {n, 1, z1}]  (* A211263 *)
    Print
    c1[n_, m_] := c1[n, m] = Sum[c[n, k], {k, a, m}]
    Table[c1[n, n], {n, 1, z1}]          (* A211264 *)
    Table[c1[n, n + 1], {n, 1, z1}]      (* A211265 *)
    Table[c1[n, 2*n], {n, 1, z1}]        (* A211266 *)
    Table[c1[n, 3*n], {n, 1, z1}]        (* A211267 *)
    Table[c1[n, Floor[n/2]], {n, 1, z1}] (* A181972 *)