|
|
A110301
|
|
Integers written in base "triangle".
|
|
0
|
|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
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.
|
|
LINKS
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|