login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Integers written in base "triangle".
0

%I #3 Sep 24 2018 16:53:14

%S 0,1,2,21,22,32,321,322,332,432,4321,4322,4332,4432,5432,54321,54322,

%T 54332,54432,55432,65432,654321,654322,654332,654432,655432,665432,

%U 765432,7654321,7654322,7654332,7654432,7655432,7665432,7765432,8765432

%N Integers written in base "triangle".

%C To convert an integer to base triangle:

%C Write the integer as a group of ones (6 is shown below).

%C 1 1 1 1 1 1

%C Iteratively redistribute the leftmost value, adding 1 to each value to its right.

%C 2 1 1 1 1

%C 2 2 1 1

%C 3 2 1

%C Stop when the leftmost value is greater than the number of values to its right.

%K easy,nonn,base

%O 0,3

%A _Andrew S. Plewe_, Sep 07 2005