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).
LINKS
Rhys Evans, Table of n, a(n) for n = 1..10000
Rhys Evans, Plot of first 153 terms
Rhys Evans, Typescript program for OEIS A394317
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
KEYWORD
base,easy,nonn,tabf
AUTHOR
Rhys Evans, Mar 15 2026
STATUS
approved
