I am having trouble finding a number where 579^$65$ is congruent to x mod 679 and x has to be less than 676. i did the trick of 2's and got:
$579^2$ $\equiv$ 494 mod 679
$494^2$ $\equiv$ 275 mod 679
$275^2$ $\equiv$ 256 mod 679
$256^2$ $\equiv$ 352 mod 679
$352^2$ $\equiv$ 326 mod 679
$326^2$ $\equiv$ 352 mod 679
i notice the pattern at the end but what does that exactly mean?