OFFSET
1,2
COMMENTS
This sequence can be regarded as a triangular array read by rows. Each row is a permutation of a block of consecutive numbers; the blocks are disjoint and every positive number belongs to some block. For n > 0, the length of row n is 4n-3 = A016813(n-1).
The sequence is a self-inverse permutation of the positive integers.
In particular, the initial {a(1), a(2), ..., a(A000384(n+1))} is self-inverse.
The sequence is an intra-block permutation of the positive integers.
Generalization of the Cantor numbering method.
A379343 and A378684 generate via composition a finite non-abelian group of permutations of positive integers, isomorphic to the alternating group A4. The list of the 12 elements of that group: this sequence, A000027 (the identity permutation), A381662, A380817, A379343, A380200, A378684, A379342, A380245, A381664, A380815, A381663. For subgroups and the Cayley table of the group A4 see Boris Putievskiy (2025) link. - Boris Putievskiy, Apr 27 2025
A381968 and A380817 generate via composition a finite non-abelian group of permutations of positive integers, isomorphic to the dihedral group D4. The list of the 8 elements of that group: this sequence, A000027 (the identity permutation), A381968, A381662, A382499, A382679, A376217, A382680. For subgroups and the Cayley table of the group D4 see Boris Putievskiy (2025 D4 (I)) link. - Boris Putievskiy, Apr 27 2025
A378762, A381968 and A380817 generate via composition a finite non-abelian group of permutations of positive integers, isomorphic to the direct product of the dihedral group D4 and the cyclic group C2. The list of the 16 elements of that group: this sequence, A000027 (the identity permutation), A381968, A381662, A382499, A380817, A382679, A382680, A378762, A383419, A383589, A383590, A056023, A383722, A383723, 383724. For subgroups and the Cayley table of the group D4xC2 see Boris Putievskiy (2025 D4xC2) link. - Boris Putievskiy, May 27 2025
LINKS
Boris Putievskiy, Table of n, a(n) for n = 1..9730
Boris Putievskiy, Integer Sequences: Irregular Arrays and Intra-Block Permutations, arXiv:2310.18466 [math.CO], 2023.
Boris Putievskiy, The Alternating Group A4: Subgroups and the Cayley Table (2025).
Boris Putievskiy, The Dihedral Group D4 (I): Subgroups and the Cayley Table (2025 D4 (I)).
Boris Putievskiy, The Direct Product D4xC2: Subgroups and the Cayley Table (2025 D4xC2).
Groupprops, Subgroup structure of direct product of D8 and Z2.
Eric Weisstein's World of Mathematics, Alternating Group.
Eric Weisstein's World of Mathematics, Dihedral Group D_4.
FORMULA
EXAMPLE
Triangle array begins:
k= 1 2 3 4 5 6 7 8 9
n=1: 1;
n=2: 2, 3, 4, 5, 6;
n=3: 7, 10, 9, 8, 11, 14, 13, 12, 15;
(1, 2, 3, ..., 12, 15) = (1, 2, 3, ..., 12, 15)^(-1).
(1, 2, 3, ..., 12, 15) = (1, 5, 2, ..., 10, 15) (1, 3, 5, ..., 7, 15). The first permutation is from Example A380245 and the second from Example A378684.
For n > 1, each row of triangle array joins two consecutive upward antidiagonals in the table:
1, 3, 6, 8, 15, ...
2, 5, 9, 12, 20, ...
4, 10, 13, 19, 26, ...
7, 14, 18, 25, 33, ...
11, 21, 24, 34, 41, ...
...
Subtracting (n-1)*(2*n-3) from each term in row n produces a permutation of numbers from 1 to 4*n-3:
1,
1, 2, 3, 4, 5;
1, 4, 3, 2, 5, 8, 7, 6, 9.
MATHEMATICA
T[n_, k_]:=(n-1)*(2*n-3)+Module[{m=2*n-1}, If[k<m, If[OddQ[k], k, -k+m+1], If[OddQ[k], k, -k+3*m-1]]]
Nmax=3; Flatten[Table[T[n, k], {n, 1, Nmax}, {k, 1, 4*n-3}]]
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Boris Putievskiy, Feb 05 2025
EXTENSIONS
Name corrected by Pontus von Brömssen, Jun 24 2025
STATUS
approved
