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.

A110301 Integers written in base "triangle".

Original entry on oeis.org

0, 1, 2, 21, 22, 32, 321, 322, 332, 432, 4321, 4322, 4332, 4432, 5432, 54321, 54322, 54332, 54432, 55432, 65432, 654321, 654322, 654332, 654432, 655432, 665432, 765432, 7654321, 7654322, 7654332, 7654432, 7655432, 7665432, 7765432, 8765432
Offset: 0

Views

Author

Andrew S. Plewe, Sep 07 2005

Keywords

Comments

To convert an integer to base triangle:
Write the integer as a group of ones (6 is shown below).
1 1 1 1 1 1
Iteratively redistribute the leftmost value, adding 1 to each value to its right.
2 1 1 1 1
2 2 1 1
3 2 1
Stop when the leftmost value is greater than the number of values to its right.