A number theory problem by Vinayak Srivastava

What is the remainder when 9 42 9^{42} is divided by 80 80 ?


The answer is 1.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

6 solutions

9 42 = 8 1 21 = ( 80 + 1 ) 21 9^{42}=81^{21}=(80+1)^{21} , which gives remainder 1 1 when divided by 80 80 .

@Vinayak Srivastava , I have deleted my solution, don't worry.

Log in to reply

No, I wanted to ask how you reached the solution.

Vinayak Srivastava - 12 months ago

Log in to reply

Typed in a calculator 9 42 80 \frac{9^{42}}{80} .

Attempt 1 1 : 4 4 - thought it was the remainder because it was after the decimal point

Attempt 2 2 : 0 0 - thought there was no solution

Attempt 3 3 : 1 1 - thought it was the remainder because it was the first number

Luckily, 1 1 was the answer...

Yours is the simplest solution and easiest for me to understand. Thanks!

A Former Brilliant Member - 11 months, 3 weeks ago
Krishna Karthik
Sep 22, 2020

Hardest problem in the world. It should come as the last question on the International Maths Olympiad. If 9 has an even power on top, its remainder with 80 should be 1.

@Krishna Karthik .. hahahahahaha lol btw how did u got into very old problem of vinayak ......upvoted+1

SRIJAN Singh - 8 months, 3 weeks ago

Log in to reply

I just found it lol.

Krishna Karthik - 8 months, 3 weeks ago

LOL @Krishna Karthik

Vinayak Srivastava - 8 months, 3 weeks ago

Log in to reply

Would you like to take part in this

SRIJAN Singh - 8 months, 3 weeks ago

Log in to reply

I don't have knowledge of coding, I only know some basic codes for particular things. sorry

Vinayak Srivastava - 8 months, 3 weeks ago

Log in to reply

@Vinayak Srivastava Pls tell if any friend of yours is interested

SRIJAN Singh - 8 months, 3 weeks ago

I'm only kidding; I was just mocking Lil Doug in the other problem. You're doing really well mate. Try the new Irodov problem I posted :)

Krishna Karthik - 8 months, 3 weeks ago
Richard Desper
Jun 17, 2020

Using the language of modular arithmetic:

9 2 = 81 1 m o d 80 9^2 = 81 \equiv 1 \mod 80 , so

( 9 2 ) 21 1 21 m o d 80 1 m o d 80 (9^2)^{21} \equiv 1^{21} \mod 80 \equiv 1 \mod 80

Thanks for answering my question!

Vinayak Srivastava - 12 months ago
Mahdi Raza
Jun 17, 2020

9 42 = 8 1 21 = ( 80 + 1 ) 21 = ( 21 0 ) 8 0 21 + ( 21 1 ) 8 0 20 1 1 + + ( 21 20 ) 8 0 1 1 20 + 1 1 = 80 ( ( 21 0 ) 8 0 20 + ( 21 1 ) 8 0 19 1 1 + + ( 21 20 ) 8 0 0 1 20 ) + 1 = 80 ( k ) + 1 1 m o d ( 80 ) \begin{aligned} 9^{42} &= 81^{21} \\ &= (80 + 1)^{21} \\ &= \green{\binom{21}{0} 80^{21} + \binom{21}{1} 80^{20} \cdot 1^1 + \ldots + \binom{21}{20} 80^{1} \cdot 1^{20}} + 1^1 \\ &= 80 \bigg( \green{\binom{21}{0} 80^{20} + \binom{21}{1} 80^{19} \cdot 1^1 + \ldots + \binom{21}{20} 80^{0} \cdot 1^{20}} \bigg) + 1 \\ &= 80\green{(k)} + 1 \\ &\equiv \boxed{1} \mod{(80)} \end{aligned}

Thanks for answering my question! By the way, I don't understand why are you using "choose" here?

Vinayak Srivastava - 12 months ago

Log in to reply

This is because he is expanding (80+1)^21 using the binomial theorem

Pavan Kartik - 11 months, 4 weeks ago

Log in to reply

Oh, I see! Thanks!

Vinayak Srivastava - 11 months, 4 weeks ago

Log in to reply

@Vinayak Srivastava You're welcome!

Pavan Kartik - 11 months, 4 weeks ago

I think binomial expansion is a bit overkill for this question. I think Modular arithmetic is much better for this question

Jaishankar V - 11 months, 3 weeks ago

Log in to reply

Isn't the modular arithmetic result derived using the binomial expansion?

Pavan Kartik - 11 months, 3 weeks ago

I tried a smaller number and found the remainder would be the same for a smaller power and for a larger power of some number divided by some number, I don't know how much it holds true to different kinds of numbers. 81 80 \frac{81}{80} gives a remainder of 1 1 , so 9 42 = 8 1 21 9^{42}=81^{21} would also give a remainder of 1 \boxed{1}

Yes, your intuition is right! What we are doing is raising 9 9 to an even power and since 9 9 has a cyclicity of 2 2 , meaning it repeats 1 , 9 1,9 continuously, the remainder will be same as 9 2 = 81 9^2=81 !

Vinayak Srivastava - 11 months ago
Rehaan Ranjan
Jul 4, 2020

9 ( a n y e v e n n u m b e r ) 9^{(any-even-number)} has the ending 1 1 .

Now, every multiple of 80 80 has the ending 0 0 .

Thus, 9 42 9^{42} divided by 80 80 has the remainder 1 0 = 1 1-0=\boxed{1}

Can you explain? Sorry, I could not follow what you wrote.

Vinayak Srivastava - 11 months, 1 week ago

Here, I have only written how I solved this question (I tend to look at things logically).

What I mean by my explanation was that: 9 to the power any EVEN number ends with 1 (for example 9^2= 81, 9^4=6561 and so on).

Now, we know that every multiple of 80 has a 0 in its ending because 80 has 10 as a factor.

And because the difference between the endings of 'any even exponent of 9 (which includes 42, as given in the question)' and 'any multiple of 80' is 1, Thus the remainder should be 1

Rehaan Ranjan - 11 months, 1 week ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...