Here's a problem maybe you number theorists will like. Just an exercise in modular arithmetic. Think about Fermat's little theorem.
"Find the remainder whenis divided by 7".
Yes, you could use a good calculator, but that's no fun.
![]() |
Here's a problem maybe you number theorists will like. Just an exercise in modular arithmetic. Think about Fermat's little theorem.
"Find the remainder whenis divided by 7".
Yes, you could use a good calculator, but that's no fun.
I can answer that questions in 6 tries or less:
"Is it 6?"
"Is it 5?"
"Is it 4?"
...
"Is it 1?" :)
Seriously, I got to brush up on that Fermat guy, and get back to you.
Thanks! :)
Fianchetto
We want
Fermat's theorem states:
Hence,
Therefore, the remainder is 2.
And I was just about to say that exact thing! ;)
| All times are GMT -7. The time now is 02:08 PM. |