Quote (twiiztedacer @ Mar 6 2014 10:09am)
how do you get that number?
using a calculator:
576^2 % 11745 = 2916
576^3 % 11745 = 81
now we just need to break that huge number down into the "bit sized chucks" above:
lets see 1289 = 3^6 + 3^5 + 3^5 + 3^3 + 3^3 + 3^2 +3^2 + 2
576^1289 % 11745= [(((((576^3)^3)^3)^3)^3)^3 *((((576^3)^3)^3)^3)^3 * ((((576^3)^3)^3)^3)^3 *((576^3)^3)^3 * ((576^3)^3)^3 * (576^3)^3 * (576^3)^3 * 576^2] % 11745
using a table above:
576^1289 % 11745 = [((((81^3)^3)^3)^3)^3 *(((81^3)^3)^3)^3 * (((81^3)^3)^3)^3 *(81^3)^3 * (81^3)^3 * 81^3 * 81^3 * 2916] % 11745
81^3 % 11745 = 2916
576^1289 % 11745 = [(((2916^3)^3)^3)^3 *((2916^3)^3)^3 * ((2916^3)^3)^3 *2916^3 * 2916^3 * 2916 * 2916 * 2916] % 11745
576^1289 % 11745 = [(((2916^3)^3)^3)^3 *((2916^3)^3)^3 * ((2916^3)^3)^3 *2916^9] % 11745
576^1289 % 11745 = [(((2916^3)^3)^3)^3 *((2916^3)^3)^3 * ((2916^3)^3)^3 *(2916^3)^3] % 11745
I won't bother finishing, but you can see we have already crunched it down quite a bit, a couple more of these and it will be manageable.