A number theory problem by Nikola Alfredi

Find the smallest positive integer n 10 n \geq 10 such that n + 6 n+6 is a prime and 9 n + 7 9n+7 is a perfect square.


The answer is 53.

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.

3 solutions

Nikola Alfredi
Mar 25, 2020

I did this way :

As 9 n + 7 = k 2 k Z + \displaystyle 9n + 7 = k^2 \ \ k \in \mathbb{Z}^+ , thus k 2 7 ( m o d 9 ) \displaystyle k^2 \equiv 7 \pmod {9} . Or by checking residues we can say...

k 4 ( m o d 9 ) k = 9 m + 4 m Z + \displaystyle k \equiv 4 \pmod {9} \implies k = 9m + 4 \ \ m \in \mathbb{Z}^+ . Then 9 n + 7 = ( 9 m + 4 ) 2 n = 9 m 2 + 8 m + 1 \displaystyle 9n + 7 = (9m + 4)^2 \implies n = 9m^2 + 8m + 1 .

Now n + 6 = 9 m 2 + 8 m + 7 \displaystyle n + 6 = 9m^2 + 8m + 7 is odd and as well prime . So m m must be even , hence for least even integer m = 2 m = 2 , n + 6 = 59 n + 6 = 59 or n = 53 n = 53 .

Can you please elaborate the 2nd para ???? And could you please give an explanation or a link to explanation of checking residues

Jignasa Bhunia - 1 year, 2 months ago

Log in to reply

@Jignasa Bhunia Quardatic residues : https://brilliant.org/wiki/quadratic-residues/ . I can elaborate the second paragraph, specifically tell me what you do not understand.

Nikola Alfredi - 1 year, 2 months ago

"k=9t+5" is possible, too. So need to check

Dong kwan Yoo - 10 months, 4 weeks ago

Log in to reply

I am thankful that you found out an error. I will rectify it.

Nikola Alfredi - 10 months ago

Since n + 6 n+6 is prime, therefore n n must be odd. Let n = 2 m + 1 n=2m+1 . Then 9 n + 7 = 2 ( 9 m + 8 ) 9n+7=2(9m+8) . So m m must be even. Let m = 2 p m=2p . Then 9 p + 4 9p+4 must be a perfect square. The smallest possible value of p p for this to hold is 5 5 . But then n + 6 = 2 m + 7 = 4 p + 7 = 27 n+6=2m+7=4p+7=27 is not a prime . The next possible value of p p is 13 13 . For this value of p p , n + 6 = 2 m + 7 = 4 p + 7 = 59 n+6=2m+7=4p+7=59 is prime . Hence the required answer is n = 2 m + 1 = 4 p + 1 = 53 n=2m+1=4p+1=\boxed {53} .

Focus on 9 n + 7 9n + 7 :

n n = 10, not a perfect square

n n = 11, not a perfect square

n n = 12, not a perfect square

n n = 13, not a perfect sqaure

etc. (you will find other perfect squares during this section)

n n = 53, a perfect square

Now, when n is a perfect square use n + 6 n + 6 :

n n = 18, not a prime (24)

n n = 53, a prime (59)

Therefore, the number of n n that satisifes both n + 6 n + 6 = prime and 9 n + 7 9n + 7 = perfect square is 53

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...