A382679 a(n) = A381968(A380817(n)).
1, 5, 3, 4, 2, 6, 14, 10, 12, 8, 11, 9, 13, 7, 15, 27, 21, 25, 19, 23, 17, 22, 20, 24, 18, 26, 16, 28, 44, 36, 42, 34, 40, 32, 38, 30, 37, 35, 39, 33, 41, 31, 43, 29, 45, 65, 55, 63, 53, 61, 51, 59, 49, 57, 47, 56, 54, 58, 52, 60, 50, 62, 48, 64, 46, 66
Offset: 1
Examples
Triangle array begins: k= 1 2 3 4 5 6 7 8 9 n=1: 1; n=2: 5, 3, 4, 2, 6; n=3: 14, 10, 12, 8, 11, 9, 13, 7, 15; (1,5,3,...,7,15) = (1,5,3,...,7,15)^(-1). (1,5,3,...,7,15) = (1,5,3,...,9,15) (1,2,3,...,10,7,...,14,15). The first permutation on the right-hand side is from Example A381968 and the second from Example A380817. For n > 1, each row of triangle array joins two consecutive upward antidiagonals in the table: 1, 3, 6, 8, 15, ... 5, 2, 12, 7, 23, ... 4, 10, 13, 19, 26, ... 14, 9, 25, 18, 40, ... 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; 4, 2, 3, 1, 5; 8, 4, 6, 2, 5, 3, 7, 1, 9.
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 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, Dihedral Group D_4.
- Index entries for sequences that are permutations of the natural numbers.
Crossrefs
Programs
-
Mathematica
T[n_,k_]:=(n-1)*(2*n-3)+Module[{m=2*n-1},If[k
Formula
T(n,k) for 1 <= k <= 4n - 3: T(n,k) = A000384(n-1) + P(n,k), P(n, k) = 2m - 1 - k if k < m and k == 1 (mod 2), P(n, k) = m + 1 - k if k < m and k == 0 (mod 2), P(n, k) = k if k >= m and k == 1 (mod 2), P(n, k) = 2m - 1 - k if k >= m and k == 0 (mod 2),
where m = 2n - 1.
Comments