All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
I need assistance. Can anyone tell me what the inverse of the matrix
| 7 2 |
| 1 1 |
( lol ascii art )
is, in mod 26? I know the determinant is 5, so I just need to find a number that I can multiply 5 by to get 1 (mod 26). The problem is, it can't be a float because it's working towards a decryption matrix... It has to be an integer.
Any ideas? I'm sure there's at least one maths genius out there .
Well, 26 * y has to end in either of the digits 4 or 9 (since 5 * anything always ends in 0 or 5, talking decimal here of course). 9 is out of the question, which just leaves 4, for which we can pick any number with last digit as 4, e.g. y = 4 => x = (1 + 26 * 4)/5 => x = 21.
.
Last edited by Zekrazey1 on Sat Apr 21, 2007 1:32 am, edited 1 time in total.