

A163352


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


1



0, 1, 1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 10, 11, 11, 12, 13, 14, 15, 16, 17, 18, 19, 11, 11, 12, 12, 12, 13, 14, 15, 16, 17, 18, 19
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,4


COMMENTS

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


LINKS

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


EXAMPLE

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


CROSSREFS

Cf. A163351, A003056, A051885, A080098.
Sequence in context: A169894 A003056 A117707 * A087834 A172263 A337635
Adjacent sequences: A163349 A163350 A163351 * A163353 A163354 A163355


KEYWORD

base,easy,nonn,tabl


AUTHOR

Rick L. Shepherd, Jul 25 2009


STATUS

approved



