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.

A104608 Write the natural numbers in base 4 in a triangle with k digits in the k-th row, as shown below. Sequence gives the leading diagonal.

Original entry on oeis.org

1, 3, 1, 1, 1, 0, 1, 2, 1, 1, 0, 0, 2, 1, 2, 3, 1, 3, 1, 2, 2, 1, 1, 1, 2, 0, 0, 2, 1, 0, 2, 2, 2, 1, 0, 2, 0, 0, 3, 3, 2, 2, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 2, 3, 2, 1, 1, 2, 2, 3, 1, 1, 3, 2, 0, 2, 2, 1, 0, 1, 2, 2, 2, 3, 2, 2, 2, 3, 3, 3, 3, 3, 0, 0, 1, 3, 3, 2, 2, 2, 3, 3, 3, 2, 3, 0, 1, 1, 2, 1, 1, 2
Offset: 1

Views

Author

Robert G. Wilson v, Mar 16 2005

Keywords

Comments

1
23
101
1121
32021
222330...

Crossrefs

Programs

  • Mathematica
    t = Flatten[IntegerDigits[Range[1500], 4]]; t[[Table[n(n + 1)/2, {n, 105}]]]