This problem was asked in a local Olympiad. I do not know how to proceed because I did not think Fermats little theorem is applicable to composite numbers. Any help would be appreciated.
Asked
Active
Viewed 63 times
0
-
1What's $n$? Or is this meant to hold for all $n$? – lulu Sep 03 '17 at 13:24
-
@lulu edited the question. – N.S.JOHN Sep 03 '17 at 13:30