1
$\begingroup$

Which of the following primes satisfy the congruence

$$a^{24}\equiv6a+2\pmod{13}$$

1) 41

2) 47

3) 67

4) 83

I am interested in Theorem statement, corollary, or Trick or Logic which solves this problem within one minute. Thank you in Advance

$\endgroup$
4
  • 7
    $\begingroup$ What's your hurry? $\endgroup$ Jun 25, 2015 at 7:24
  • $\begingroup$ @Gerry Myerson : such a problem has been asked in competitive exams in which we don't have much time to solve this in regular process, that's why i want to know tricky way $\endgroup$ Jun 25, 2015 at 7:32
  • $\begingroup$ The fastest way is Fermat's Little Theorem. $\endgroup$
    – anonymous
    Jun 25, 2015 at 7:41
  • 7
    $\begingroup$ "Use this One Simple Trick to solve the congruence! Click now to find out how!" $\endgroup$ Jun 25, 2015 at 12:49

2 Answers 2

15
$\begingroup$

"I am interested in Theorem statement, corollary, or Trick or Logic which solves this problem within one minute."

Ok, so perhaps you are looking at Fermat's Little Theorem, where $n$ is prime, and $a$ is not a multiple of $n$:

$$a^{n-1}\equiv1\ mod\ n$$

So in your case of

$$a^{24}\equiv6a+2\ mod\ 13$$

Therefore using Fermat's Little Theorem:

$$a^{12}\equiv1\ mod\ 13$$ Therefore $$a^{24}\equiv (a^{12})^2\ mod\ 13$$

$$a^{24}\equiv1\ mod\ 13$$

$$1\equiv6a+2\ mod\ 13$$

Now using basic algebra, you can find that $$6a \equiv-1\ mod\ 13$$which means that

$$6a \equiv 12$$

and $$a \equiv 2$$

So now you can easily see that the answer is going to be $1)\ 41$.

With practice, the answer comes very easily. Hope this helps :)

$\endgroup$
5
  • 1
    $\begingroup$ Great..!!! you make it very very easy.. Thanks alot :) $\endgroup$ Jun 25, 2015 at 7:47
  • $\begingroup$ @Chiranjeev Good to hear! You are welcome. $\endgroup$
    – anonymous
    Jun 25, 2015 at 7:47
  • 3
    $\begingroup$ $\LaTeX$ tip: Use a\equiv b\pmod{c} to get $$a\equiv b\pmod{c}$$ $\endgroup$
    – Teoc
    Jun 25, 2015 at 14:07
  • $\begingroup$ $67$ also works. $\endgroup$
    – Asinomás
    Jul 16, 2015 at 16:34
  • $\begingroup$ @dREaM Indeed it does! Thank you. $\endgroup$
    – anonymous
    Jul 17, 2015 at 8:45
7
$\begingroup$

By Fermat's little theorem, $a^{24} = (a^{12})^2 \equiv 1^2 = 1 \pmod{13}$ (assuming $13\nmid a$, which is the case here).Thus you're really trying to solve $1\equiv6a+2\pmod{13}$, which is much easier.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .