View Single Post
2022-04-03, 14:07   #3
Dr Sardonicus

Feb 2017
Nowhere

2·5·19·31 Posts

Quote:
 Originally Posted by bhelmes but the other matrixs mod p, with p=1 mod 4 contain elements which do not "lead" to the identity matrix: For example: p:=37 (16, 23, 23, 33)^(36*38)=/=(1,0,0,1). Why ? or is it a bug ?
It's a bug. I note also that the determinant of your matrix isn't 1 (mod 37), but is rather Mod(24,37).
Code:
? M=Mod(1,37)*[16,23;23,23]
%1 =
[Mod(16, 37) Mod(23, 37)]

[Mod(23, 37) Mod(23, 37)]

? M^(36*38)
%2 =
[Mod(1, 37) Mod(0, 37)]

[Mod(0, 37) Mod(1, 37)]

?