cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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.

Original entry on oeis.org

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
Offset: 0

Views

Author

Rick L. Shepherd, Jul 25 2009

Keywords

Comments

The number k is left-padded 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.

Examples

			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