login
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
OFFSET
0,6
COMMENTS
A037123(n) is the sum of the terms in row n.
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
Cf. A037123.
Sequence in context: A025681 A025659 A163351 * A025690 A025668 A373748
KEYWORD
base,easy,nonn,tabf
AUTHOR
Rick L. Shepherd, Oct 12 2009
STATUS
approved