A216320 Irregular triangle: row n lists the Modd n order of the odd members of the reduced smallest nonnegative residue class modulo n.
1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 3, 3, 1, 4, 4, 2, 1, 3, 3, 1, 4, 4, 2, 1, 5, 5, 5, 5, 1, 2, 2, 2, 1, 3, 2, 6, 3, 6, 1, 3, 6, 3, 6, 2, 1, 4, 2, 4, 1, 8, 8, 4, 4, 8, 8, 2, 1, 8, 8, 8, 4, 8, 2, 4, 1, 6, 6, 3, 3, 2, 1, 9, 9, 3, 9, 3, 9, 9, 9, 1, 4, 4, 2, 2, 4, 4, 2, 1, 3, 6, 2, 3, 6
Offset: 1
Examples
The table a(n,k) begins: n\k 1 2 3 4 5 6 7 8 9 ... 1 1 2 1 3 1 4 1 2 5 1 2 6 1 2 7 1 3 3 8 1 4 4 2 9 1 3 3 10 1 4 4 2 11 1 5 5 5 5 12 1 2 2 2 13 1 3 2 6 3 6 14 1 3 6 3 6 2 15 1 4 2 4 16 1 8 8 4 4 8 8 2 17 1 8 8 8 4 8 2 4 18 1 6 6 3 3 2 19 1 9 9 3 9 3 9 9 9 20 1 4 4 2 2 4 4 2 ... a(7,2) = 3 because A216319(7,2) = 3 and 3^1 == 3 (Modd 7); 3^2 = 9 == 5 (Modd 7) because floor(9/7)= 1 which is odd, therefore 9 (Modd 7) = -9 (mod 7) = 5; 3^3 == 5*3 (Modd n) = +1 because floor(15/7)=2 which is even, therefore 15 (Modd 7) = 15 (modd 7) = +1. Row n=12 is the first row without an order = delta(n) (row length), in this case 4. Therefore there is no primitive root Modd 12, and the multiplicative group Modd 12 is non-cyclic. Its cycle structure is [[5,1],[7,1],[11,1]] which is the group Z_2 x Z_2 (the Klein 4-group).
Comments