this is fermat's little theorerm please refer to
http://mathworld.wolfram.com/FermatsLittleTheorem.html
2007-04-03 03:11:33
·
answer #1
·
answered by Mein Hoon Na 7
·
0⤊
0⤋
Yes, and you can check it quite compactly, because you can take remainders anywhere through the calculation and it will still be the same remainder at the end as if you had done the full working.
p = 43, a = 5
a^2 = 25
a^4 = 625 = 23
a^5 = 115 = 29
a^10 = 841 = 24
a^20 = 576 = 17
a^21 = 85 = 42
a^42 = 1764 = 1
a^43 = 5
Nowadays, most books present this theorem as:
a^(p-1) leaves a remainder of 1 when divided by p.
2007-04-03 09:36:43
·
answer #2
·
answered by bh8153 7
·
0⤊
0⤋
I'm not sure exactly what you're asking, but it is true that if p is prime, then for any a, a^p â¡ a (mod p). This is Fermat's Little Theorem.
2007-04-03 03:14:56
·
answer #3
·
answered by Scarlet Manuka 7
·
0⤊
0⤋
i go with the first guy who anwsered....
2007-04-03 08:06:50
·
answer #4
·
answered by Anonymous
·
0⤊
0⤋
No
Please give me best answer thanks!
2007-04-03 13:15:53
·
answer #5
·
answered by Anonymous
·
0⤊
0⤋