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.
%I A375300 #10 Aug 24 2024 23:01:11 %S A375300 1,1,2,2,1,3,2,4,3,1,3,2,5,4,1,3,6,5,4,2,1,4,3,7,6,5,2,1,4,8,7,6,5,3, %T A375300 2,1,5,4,9,8,7,6,3,2,1,5,10,9,8,7,6,4,3,2,1,6,5,11,10,9,8,7,4,3,2,1,6, %U A375300 12,11,10,9,8,7,5,4,3,2,1,7,6,13,12,11,10,9,8,5,4,3,2,1 %N A375300 Triangle T(n,k) read by rows that has the A001710(n)-th lexicographic permutation of [1,...,n] as row n. %e A375300 The triangle begins %e A375300 1, %e A375300 1, 2, %e A375300 2, 1, 3, %e A375300 2, 4, 3, 1, %e A375300 3, 2, 5, 4, 1, %e A375300 3, 6, 5, 4, 2, 1, %e A375300 4, 3, 7, 6, 5, 2, 1, %e A375300 4, 8, 7, 6, 5, 3, 2, 1, %e A375300 5, 4, 9, 8, 7, 6, 3, 2, 1, %e A375300 5, 10, 9, 8, 7, 6, 4, 3, 2, 1, %e A375300 ... %o A375300 (PARI) a375300_row(n) = if (n<2, [1], my(m=n!\2); forperm(n, p, m--; if (m==0, return(Vec(p))))) %Y A375300 Cf. A000142, A001710, A002260, A004736. %K A375300 nonn,tabl,easy %O A375300 1,3 %A A375300 _Hugo Pfoertner_, Aug 24 2024