The smallest prime

Let function f ( n ) f(n) for n N n\in \mathbb N be defined as follows:

f ( n ) = ( n 2 6 ) ( n 2 2 ) ( n 2 3 ) f(n)=(n^{2}-6)(n^{2}-2)(n^{2}-3)

Find the smallest prime p p that does not divide f ( n ) f(n) for any n N n\in \mathbb N . If you think there is no such prime number, enter 1 -1 .


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.

2 solutions

Chris Lewis
Apr 15, 2019

A number a a is called a "quadratic residue" modulo p p if there exists an n n such that n 2 a ( m o d p ) n^2 \equiv a \pmod{p} . For example, 2 2 is a quadratic residue modulo 7 7 , because 3 2 = 9 2 ( m o d 7 ) 3^2 = 9 \equiv 2 \pmod{7} , but 3 3 is not a quadratic residue modulo 7 7 .

For an odd prime p p , Euler's criterion gives a way of testing whether any a a coprime to p p is a quadratic residue modulo p p .

The criterion is as follows: evaluate a p 1 2 a^{\frac{p-1}{2}} . If and only if a a is a quadratic residue, a p 1 2 1 ( m o d p ) a^{\frac{p-1}{2}} \equiv 1 \pmod{p} . If and only if a a is not a quadratic residue, a p 1 2 1 ( m o d p ) a^{\frac{p-1}{2}} \equiv -1 \pmod{p} .

This problem is equivalent to finding the smallest prime p p such that none of the values { 2 , 3 , 6 } \{2,3,6\} are quadratic residues modulo p p (if such a prime exists).

For p = 2 p=2 or p = 3 p=3 , p f ( p ) p|f(p) . So now let's look at p > 3 p>3 .

Let's assume that neither 2 2 nor 3 3 is a quadratic residue modulo p p . Then, by Euler's criterion, 2 p 1 2 3 p 1 2 1 ( m o d p ) 2^{\frac{p-1}{2}} \equiv 3^{\frac{p-1}{2}} \equiv -1 \pmod{p} .

But multiplying these two expressions gives 6 p 1 2 1 ( m o d p ) 6^{\frac{p-1}{2}} \equiv 1 \pmod{p} ; so 6 6 is a quadratic residue modulo p p .

In the same way, we can show that at least one of { 2 , 3 , 6 } \{2,3,6\} must be a quadratic residue modulo p p for every prime p p , and so the answer to the problem is 1 \boxed{-1} .

+1! Thanks for the solution. In the similar way we can prove that at least one of {a,b,ab} is quadratic residue modulo any prime p.

Mayank Chaturvedi - 2 years, 1 month ago

what about 5?

Leo Jia - 2 years, 1 month ago

Log in to reply

Just try some values of n n , you'll soon find 1 1 that works.

Chris Lewis - 2 years, 1 month ago

n=1, gives f(n) = (-5) (-1) (-2), which is divisible by 5.

SHRIRAM R - 2 years, 1 month ago
Cantdo Math
Apr 16, 2020

Since,legendre's symbol is completely multiplicative ( 6 p ) = ( 2 p ) ( 3 p ) (\frac{6}{p})=(\frac{2}{p})(\frac{3}{p}) Hence,if both 2 and 3 are not quadratic residue modulo any prime p,then 6 has to be one.hence for all prime some n(infinitely many) can be found such that p divides f(n).

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...