What is the remainder when you divide 4^44 by 19?
Most of the remainder problems thus far have been simple (square for difference of 1 etc) but I'm not sure how to tackle this one.
Using mod and congruences
A similar process: http://gmatclub.com/forum/what-is-the-remainder-when-43-86-is-divided-by-134778.html
Is there an easy way to go about this besides guessing and checking numbers?
There might be, but sadly, I am not very familiar with this process. ^^; Perhaps someone else can assist you? :]
with this type of equation*
there are several ways to do this, one easy mehtod that doesn't require much theory is binary exponential algorithm heard of it before ?
No I haven't, sorry.
Notice 44 = 32 + 8 + 4
4^2 = 16 = -3 `4^4 = (-3)^2 = 9` `4^8 = 9^2 = 5` 4^16 = 5^2 = 6 `4^32 = 6^2 = -2`
\[4^{44} = 4^{32+8+4} = 4^{32}\cdot 4^8\cdot 4^4 \equiv -2\cdot 5\cdot 9 \equiv 5 \]
strange
Okay, that's amazing thank you. Can I ask how you reasoned through that though? Like, each step makes sense, but I would have no idea how to replicate that during an exam.
i thought fermat little theorem is efficient
Yep fermat little thm gives the answer fast
lets do another problem and im sure you will see why this works
\(\large \begin{align} \color{black}{\normalsize \text{one easy way is to apply fermat's little theorem}\hspace{.33em}\\~\\ a^{n-1}\pmod n=1,n\nmid a \hspace{.33em}\\~\\ \dfrac{4^{44} }{19}\hspace{.33em}\\~\\ =\dfrac{4^{19\times 2}\cdot 4^{8} }{19}\hspace{.33em}\\~\\ =\dfrac{1\cdot 4^{8} }{19}\hspace{.33em}\\~\\ =\dfrac{1\cdot 16^{4} }{19}\hspace{.33em}\\~\\ =\dfrac{ (-3)^{4} }{19}\hspace{.33em}\\~\\ =\dfrac{ (9)^{2} }{19}\hspace{.33em}\\~\\ =\dfrac{ 81 }{19}\hspace{.33em}\\~\\ =\dfrac{5}{19} \hspace{.33em}\\~\\ =5 \hspace{.33em}\\~\\ }\end{align}\)
We haven't used Fermat's Little Theorem yet.
i m still unable to understand ur computer algorithm
and how can it work on every \(\pmod n\) ?
note that \(n\) id prime is my answer
And ganeshie, that was the last problem of its kind. There's one last proof dealing with mods that I'm not sure how to tackle if ya want to be an incredible human being again and explain
It's different, but also pretty complicated. I need to prove that 4^n is congruent to 1+3n (mod 9)
I feel like with a lot of these mod problems I'm able to look at the answer once it's given and be like "oh okay, every step makes sense. No idea how they got from start to finish without blind guessing though"
might be helpful https://www.khanacademy.org/computing/computer-science/cryptography/modarithmetic/a/what-is-modular-arithmetic
Thank you, bookmarked it for later.
I don't have a ton of time left before I've got to drive to classes though, and I still feel like I have no idea how to proceed with this proof. Do you have any ideas?
for fermat liite theorm ?
You and Gane have been amazing by the way, sorry to have needed so much help.
It should be easy using binomial thm. Just write 4 as 3+1 and expand
No uhh "If Prove 4n ≡ 1 + 3n (mod 9) for any integer n ≥ 1"
might be helpful https://www.khanacademy.org/computing/computer-science/cryptography/modarithmetic/a/what-is-modular-arithmetic
Prove 4n is congruent to 1+ 3n mod 9
Okay 1 second gane
what is n here ?
A number greater than 1
Integer*
\[\begin{align}4^n = (1+3)^n &= \binom{n}{0} 1^n3^0 + \binom{n}{1} 1^{n-1}3^1 + 3^2(\text{stuff}) \\~\\ &= 1 + 3n + 9(\text{stuff}) \\~\\ &\equiv 1+3n + 0 \pmod{9} \end{align}\]
oh its exponent
Oh sorry. The copy paste kinda failed the second time. Yeah. It's 4^n is congruent to 3n+1 mod 9
perfect!
I haven't seen that (n 0 ) Notation. But if I understand the proof I'm going to have to show that 3^n = 3n mod 9 and it basically cylces for values of n?
(not at all very well written, but does that sound close to right?)
familiar with binomial thm ?
No, not really.
Binomial theorem is the first thing to learn in number theory http://en.wikipedia.org/wiki/Binomial_theorem
It is so fundamental and important.. Most proofs and concepts in number theory depend on / use binomial thm
I checked the references, and binomial theorem isn't show in our text until a couple chapters down the line, and our professor hasn't discussed it yet, so for now I have to make due without it.
makes no sense to study congruences w/o covering binomial thm first
yes binomial is very important
(im just saying that to stress the importance of binomila thm haha!)
i said beacause that is really cool and important as i never studied mod arithmatic , just used applications of binomial through out
Indeed it is cool and wont take much time to learn/use it
But you will be amazed by the complicated problems that it allows you to solve.. !
Alright, I'll be sure to look in to it later tonight.
What textbook are you using ?
Elementary Number Theory and its Applications - Kenneth H Rosen 6th edition
Just to make sure, I basically need to show 3^n = 3n mod 9 right?
thats not true, try n=2
3^2 = 3*2 mod 9 9 = 6 mod 9 0 = 6 mod 9 false
Okay right. Sorry
you need to know binomial thm to understand above proof... let me see if we can avoid it :)
we may try induction
Induction seems odd. Or maybe I just don't understand cause I'm new at this, but doesn't it change for every n+1?
i didnt get that.. what do you mean by change for every n+1 ?
Umm. Nevermind. You go ahead and explain and I'll see if I don't follow anything.
Induction is pretty straightforward and simple as we always know where to start
I'm only here 'cos notifications will break my computer. ; o;
It's cool Kitti. I got to go in 15 minutes so hopefully this isn't on too much longer.
Alright xD
To prove : \(4^n \equiv 3n+1 \pmod{9}\) Base case : \(4^1 = 4 = 3*1+1 \pmod{9}~\color{green}{\checkmark}\) Induction step : Assume \(4^k\equiv 3k+1\pmod{9}\) is true. \[4^{k+1}\equiv 4\cdot 4^k\equiv 4(3k+1) = 12k+4 \equiv 3k+4 = 3(k+1)+1\pmod{9} \] \(\blacksquare\)
Okay, that's incredible. You're amazing, thank you so much.
ganeshie = the Math God of OS
and hartnn ofc
\(\large \color{magenta}{\heartsuit }\)
:)
Okay, again, thank you so much Gane and mathmath for all your help today. You both are incredible
Join our real-time social learning platform and learn together with your friends!