|
|
A162711
|
|
Triangle read by rows: T(n,k) = value of the string of length k beginning at position n in the concatenation of natural numbers in decimal representation, 1<=k<=n.
|
|
4
|
|
|
1, 2, 23, 3, 34, 345, 4, 45, 456, 4567, 5, 56, 567, 5678, 56789, 6, 67, 678, 6789, 67891, 678910, 7, 78, 789, 7891, 78910, 789101, 7891011, 8, 89, 891, 8910, 89101, 891011, 8910111, 89101112, 9, 91, 910, 9101, 91011, 910111, 9101112, 91011121, 910111213
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
PROG
|
(Haskell)
import Data.List (inits, tails)
a162711 n k = a162711_tabl !! (n-1) !! (k-1)
a162711_row n = a162711_tabl !! (n-1)
a162711_tabl = map (map (read . concatMap show) . tail . inits) $
zipWith take [1..] $ tails a007376_list :: [[Integer]]
|
|
CROSSREFS
|
Cf. A224841 where n is the position of the last digit of the string.
|
|
KEYWORD
|
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|