

A163351


Triangle T(n,k) = m, 0<=k<=n, read by rows, where each decimal digit d of the integer m is the minimum of the corresponding decimal digits of n and k.


1



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, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 11, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 10, 11, 12, 0, 1, 2, 3, 3, 3, 3, 3, 3, 3, 10
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,6


COMMENTS

The number k is leftpadded with zeros as necessary for comparison with n.
Clearly, for all n>=0, T(n,0) = 0 and T(n,n) = n.
For all A051885(n), T(A051885(n),k) = k; no other rows have this pattern.


LINKS

Table of n, a(n) for n=0..101.


EXAMPLE

T(10,1) = 0 = a(56) as 0<1 in both tens and units positions. Sequence first differs from A002262 here.
T(104,53) = 3 as 3<4, 0<5, and 0<1.


CROSSREFS

Cf. A163352, A002262, A080098.
Sequence in context: A025674 A025681 A025659 * A166352 A025690 A025668
Adjacent sequences: A163348 A163349 A163350 * A163352 A163353 A163354


KEYWORD

base,easy,nonn,tabl


AUTHOR

Rick L. Shepherd, Jul 25 2009


STATUS

approved



