login
A394317
Concatenated permutations of integers in decimal.
1
0, 1, 10, 12, 21, 102, 120, 201, 210, 123, 132, 213, 231, 312, 321, 1023, 1032, 1203, 1230, 1302, 1320, 2013, 2031, 2103, 2130, 2301, 2310, 3012, 3021, 3102, 3120, 3201, 3210, 1234, 1243, 1324, 1342, 1423, 1432, 2134, 2143, 2314, 2341, 2413, 2431, 3124, 3142, 3214, 3241, 3412, 3421, 4123, 4132, 4213, 4231, 4312, 4321
OFFSET
1,3
COMMENTS
The terms of the n-th row of the triangle are the n! concatenations of each permutation of 0, ..., n-1.
Starting with row 11, each concatenated term involves at least one number with more than one digit (see example).
EXAMPLE
The triangle starts:
0;
(0)1, 10;
(0)12, (0)21, 102, 120, 201, 210;
...
Row 11 starts:
(0)12345678910, (0)12345678109, (0)12345679810, ... .
PROG
// Typescript (see linked file)
(Python)
from itertools import count, islice, permutations
def a(): yield from (int("".join(map(str, p))) for n in count(1) for p in permutations(range(n)))
print(list(islice(a(), 57))) # Michael S. Branicky, Mar 15 2026
CROSSREFS
Cf. A030299.
A precursor of A215940.
Sequence in context: A385154 A348056 A120001 * A108703 A098785 A022324
KEYWORD
base,easy,nonn,tabf
AUTHOR
Rhys Evans, Mar 15 2026
STATUS
approved