What if I drop the 1?

n 2 = 360 k + 1 n^2=360k+1

If k [ 0 , 360 ] k \in [0, 360] , then find the total number of possible values of integers k k such that there exists an integer n n that satisfies the equation above.


The answer is 16.

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.

2 solutions

Pi Han Goh
Jun 10, 2015

So we have n 2 1 0 ( m o d 360 ) n^2 - 1 \equiv 0 \pmod{360} . By factoring 360 360 into product of coprime positive integers, we have 360 = 5 × 8 × 9 360 = 5 \times 8 \times 9 .

Thus n 2 1 ( m o d 5 ) , n 2 1 ( m o d 8 ) , n 2 1 ( m o d 9 ) n^2 \equiv 1 \pmod{5}, n^2 \equiv 1 \pmod{8}, n^2 \equiv 1 \pmod{9} .

By quotient remainder theorem, it's easy to see that for n 2 1 ( m o d 5 ) n^2 \equiv 1 \pmod 5 yields n ± 1 ( m o d 5 ) n \equiv \pm 1 \pmod 5 . Similarly, for the other quadratic congruences, we can obtain n ± 1 , ± 3 ( m o d 8 ) n \equiv \pm 1, \pm 3 \pmod 8 and n ± 1 ( m o d 9 ) n \equiv \pm 1 \pmod 9 .

So there's 2 , 4 , 2 2, 4, 2 possible remainders of n n when divided by 5 , 8 , 9 5, 8, 9 respectively. By Chinese Remainder Theorem and by rule of product, the total number of solutions when k k is restricted in the interval [ 0 , 360 ] [0,360] is simply 2 × 4 × 2 = 16 2\times 4\times 2=\boxed{16} .

Moderator note:

Simple standard approach.

Could u pls explain why is n modulo 8, 3 and -3?? Thanks

erica phillips - 2 years, 3 months ago

If n 2 1 ( m o d 8 ) n ^2 \equiv 1 \pmod 8 , then n ± 1 , ± 3 ( m o d 8 ) n \equiv \pm 1, \pm3 \pmod8 . Why? Work backwards.

n 2 1 ( m o d 8 ) n ^2 \equiv 1 \pmod 8 implies that n 2 1 n^2 - 1 is divisible by 8. So at least one of n 1 , n + 1 n-1,n+1 is divisible by 8. Can you figure it out from here?

Pi Han Goh - 2 years, 3 months ago

Yes I can Thanks

erica phillips - 2 years, 3 months ago
Joram Otero
Jul 31, 2014

The answer is 16.

Agreed: 1, 19, 71, 89, 91, 109, 161, 179, 181, 199, 251, 269, 271, 289, 341, and 359.

Jon Haussmann - 6 years, 10 months ago

Log in to reply

Thanks for reporting. I have updated the answer to 16.

Calvin Lin Staff - 6 years, 10 months ago

Log in to reply

okay thanks!

joram otero - 6 years, 10 months ago

Why is 0 not a solution ?

Rishik Jain - 5 years, 12 months ago

Log in to reply

It is a solution. Jon is listing out the values of n n , instead of k k .

E.g. 1 9 2 = 360 × 1 + 1 19^2 = 360 \times 1 + 1 , whereas 360 × 19 + 1 = 6841 360 \times 19 + 1 = 6841 is not a perfect square.

Calvin Lin Staff - 5 years, 12 months ago

What is the proper method to arrive at that? @joram otero

Ashu Dablo - 6 years, 8 months ago

Log in to reply

How did you arrive at it? I tried Diophantine equation by diffeence of square but made some error in middle. U?

Sanjana Nedunchezian - 6 years, 8 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...