# Understand the problem

Let $$p_1,p_2,p_3$$ be primes with $$p_2\neq p_3$$, such that $$4+p_1p_2$$ and $$4+p_1p_3$$ are perfect squares. Find all possible values of $$p_1,p_2,p_3$$.

Do you really need a hint? Try it first!

Let $$4+p_1p_2=m^2$$ and $$4+p_1p_3=n^2$$, where $$m,n \in \mathbb{N}$$.

$$\Rightarrow p_1p_2=(m-2)(m+2)$$ and $$p_1p_3=(n+2)(n-2)$$.

Since $$p_1,p_2,p_3$$ are primes with $$p_2\neq p_3$$ $$\Rightarrow m\neq n$$.

Case –I: $$p_2<p_3 \Rightarrow m<n$$.

Clearly, $$p_1=m+2=n-2, \Rightarrow n=m+4$$

$$p_2=m-2$$ and

$$p_3=n+2=m+6$$.

Therefore, $$(m+2),(m-2),(m+6)$$ are all prime numbers.

We see that $$m=5$$ satisfy the above condition. And then,$$p_1=7,p_2=3,p_3=11$$ .

Case-II: $$p_2>p_3 \Rightarrow m>n$$.

$$\Rightarrow p_1=m-2=n+2 \Rightarrow m=n+4$$

$$p_2=m+2=n+6$$ and

$$p_3=n-2$$.

Now $$(n+2),(n+6), (n-2)$$ all are primes. Again , $$n=5$$ satisfy this condition. Hence $$p_1=7,p_2=11,p_3=3$$.

Thus all possible values of $$p_1,p_2,p_3$$ are ( 7,3,11) and (7,11,3).

Now need to conclude that there does not exist any more triple of prime numbers satisfying the given condition.

Consider these numbers:

$$p_1=m+2,p_2=m-2,p_3=m+6$$ , now the gaps between $$p_1,p_2,p_3$$ are given by:

$$p_1-p_2=4, p_3-p_2=8$$ and $$p_3-p_1=4$$.

We see that for $$m>9$$ these three gaps cannot be 4,8 and 4 simultaneously . That is at least one of these three gaps is greater than 4 for $$m>9$$ . And between 1 to 9 only $$m=5$$ satisfy the given condition. Hence there does not exist any more triples.

# Connected Program at Cheenta

##### Source of the problem

I.S.I. (Indian Statistical Institute) B.Stat/B.Math Entrance Examination 2017. Subjective Problem no. 6.

Number Theory

8.5 out of 10

##### Suggested Book

Elementary Number Theory by David M. Burton # I.S.I. & C.M.I. Entrance Program

Indian Statistical Institute and Chennai Mathematical Institute offer challenging bachelor’s program for gifted students. These courses are B.Stat and B.Math program in I.S.I., B.Sc. Math in C.M.I.

The entrances to these programs are far more challenging than usual engineering entrances. Cheenta offers an intense, problem-driven program for these two entrances.

# Similar Problem

## How to solve an Olympiad Problem (Number Theory)?

Suppose you are given a Number Theory Olympiad Problem. You have no idea how to proceed. Totally stuck! What to do? This post will help you to atleast start with something. You have something to proceed. But as we share in our classes, how to proceed towards any...

## How are Bezout’s Theorem and Inverse related? – Number Theory

The inverse of a number (modulo some specific integer) is inherently related to GCD (Greatest Common Divisor). Euclidean Algorithm and Bezout’s Theorem forms the bridge between these ideas. We explore these beautiful ideas.

## How to use Invariance in Combinatorics – ISI Entrance Problem

Invariance is a fundamental phenomenon in mathematics. In this combinatorics problem from ISI Entrance, we discuss how to use invariance.

## The best exponent for an inequality

Understand the problemLet be positive real numbers such that .Find with proof that is the minimal value for which the following inequality holds:Albania IMO TST 2013 Inequalities Medium Inequalities by BJ Venkatachala Start with hintsDo you really need a hint?...

## A functional inequation

Understand the problemFind all functions such thatholds for all . Benelux MO 2013 Functional Equations Easy Functional Equations by BJ Venkatachala Start with hintsDo you really need a hint? Try it first!Note that the RHS does not contain $latex y$. Thus it should...

## Mathematical Circles Inequality Problem

A beautiful inequality problem from Mathematical Circles Russian Experience . we provide sequential hints . key idea is to use arithmetic mean , geometric mean inequality.

## RMO 2019

Regional Math Olympiad (RMO) 2019 is the second level Math Olympiad Program in India involving Number Theory, Geometry, Algebra and Combinatorics.

## Application of eigenvalue in degree 3 polynomial: ISI MMA 2018 Question 14

This is a cute and interesting problem based on application of eigen values in 3 degree polynomial .Here we are finding the determinant value .

## To find Trace of a given Matrix : ISI MMA 2018 Question 13

These is a cute and interesting sum where the trace of a given matrices needs to be found using a very simple but effective method

## Costa Rica NMO 2010, Final Round, Problem 4 – Number Theory

The problem is a beautiful application of the techniques in Diophantine Equation from Costa Rica Math Olympiad 2010.