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.

A330709 Two-column table read by rows: pairs (i,j) in order sorted from the left.

Original entry on oeis.org

0, 0, 1, 0, 1, 1, 2, 0, 2, 1, 2, 2, 3, 0, 3, 1, 3, 2, 3, 3, 4, 0, 4, 1, 4, 2, 4, 3, 4, 4, 5, 0, 5, 1, 5, 2, 5, 3, 5, 4, 5, 5, 6, 0, 6, 1, 6, 2, 6, 3, 6, 4, 6, 5, 6, 6, 7, 0, 7, 1, 7, 2, 7, 3, 7, 4, 7, 5, 7, 6, 7, 7, 8, 0, 8, 1, 8, 2, 8, 3, 8, 4, 8, 5, 8, 6, 8, 7, 8, 8, 9, 0, 9, 1, 9, 2, 9, 3, 9, 4, 9, 5, 9, 6, 9, 7, 9, 8, 9, 9, 10, 0
Offset: 0

Views

Author

Mehmet A. Ates, Jun 08 2020

Keywords

Crossrefs

a(2n)= A003056(n),
a(2n+1)= A002262(n).
Cf. A331195.

Programs

  • Mathematica
    TwoDVectors = List[];
    SeqSize = 20;
    For[i = 0, i <= SeqSize, i++,
      For[j = 0, j <= i, j++,
        AppendTo[TwoDVectors, {i, j}]
      ]
    ];
    Flatten[TwoDVectors]