A333856 Irregular triangle read by rows: row n gives the members of the smallest nonnegative reduced residue system in the modified congruence modulo n by Brändli and Beyne, called mod* n.
0, 1, 1, 1, 1, 2, 1, 1, 2, 3, 1, 3, 1, 2, 4, 1, 3, 1, 2, 3, 4, 5, 1, 5, 1, 2, 3, 4, 5, 6, 1, 3, 5, 1, 2, 4, 7, 1, 3, 5, 7, 1, 2, 3, 4, 5, 6, 7, 8, 1, 5, 7, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 3, 7, 9, 1, 2, 4, 5, 8, 10, 1, 3, 5, 7, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
Offset: 1
Examples
The irregular triangle T(n, k) begins: n\k 1 2 3 4 5 6 7 8 9 ... ----------------------------------------- 1: 0 2: 1 3: 1 4: 1 5: 1 2 6: 1 7: 1 2 3 8: 1 3 9: 1 2 4 10: 1 3 11: 1 2 3 4 5 12: 1 5 13: 1 2 3 4 5 6 14: 1 3 5 15: 1 2 4 7 16: 1 3 5 7 17: 1 2 3 4 5 6 7 8 18: 1 5 7 19: 1 2 3 4 5 6 7 8 9 20: 1 3 7 9 ... ----------------------------------------- n = 9: 1 represents the union of the ordinary restricted residue classes [1] and [-1] = [8], called [1]*, 2 represents the union of [2] and [-2] = [7], called [2]*, and 4 represents the union of [4] and [-4] = [5], called [4]*. One could replace [1]* by [8]*, [2]* by [7]* and [4]* by [5]*, but here the smallest numbers 1, 2, 4 are used for RRS*(9). Multiplication table for RRS*(9) (x is used here instead of *): 1 x 1 = 1, 1 x 2 = 2, 1 x 4 = 4; 2 x 1 = 2, 2 x 2 = 4, 2 x 4 = 1; 4 x 1 = 4, 4 x 2 = 1, 4 x 4 = 2. This is the (Abelian) cyclic group C_3.
Links
- Gerold Brändli and Tim Beyne, Modified Congruence Modulo n with Half the Amount of Residues, arXiv:1504.02757 [math.NT], 2016.
Programs
-
PARI
RRS(n) = select(x->gcd(n, x)==1, [1..n]); \\ A038566 row(n) = if (n<=2, [n-1], my(r=RRS(n)); Vec(r, #r/2)); \\ Michel Marcus, Sep 17 2023
Comments