|
|
A166352
|
|
Table read by rows where row n contains the sorted digits of the integers 0 through n.
|
|
0
|
|
|
0, 0, 1, 0, 1, 2, 0, 1, 2, 3, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 5, 0, 1, 2, 3, 4, 5, 6, 0, 1, 2, 3, 4, 5, 6, 7, 0, 1, 2, 3, 4, 5, 6, 7, 8, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 0, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 0, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 0, 1, 1, 1, 1, 1, 2, 2, 3, 4, 5, 6, 7, 8, 9, 0, 0, 1, 1, 1, 1, 1, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,6
|
|
COMMENTS
|
A037123(n) is the sum of the terms in row n.
|
|
LINKS
|
|
|
EXAMPLE
|
Row 10, the sorted digits of 0 through 10, is 0, 0, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9.
|
|
MATHEMATICA
|
Flatten[Table[Sort[Flatten[IntegerDigits/@Range[0, n]]], {n, 0, 15}]] (* Harvey P. Dale, Nov 30 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn,tabf
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|