Understand the problem

Find all prime numbers such that the square of the prime number can be written as the sum of cubes of two positive integers.
Source of the problem
Bangladesh MO 2019 Problem 1
Number Theory
Difficulty Level
Suggested Book
A Friendly Introduction to Number Theory by J.H.Silverman

Start with hints

Do you really need a hint? Try it first!

Write the problem in a Mathematical Equation form i.e. p^2 = a^3 + b^3. Now can you like factorize the stuff to make life easier and use divisibility rules?
After factorizing, we get p^2 = (a+b)(a^2 + b^2 - ab) . Now can use the prime factorization idea and see what are the cases possible. Observe that three cases are possible:
  • a+b = p, a^2 + b^2 - ab =p
  • a+b =p^2 , a^2 + b^2 - ab = 1
  • a+b = 1, a^2 + b^2 - ab = p^2
Now, can you decode these cases and solve the problem like Sherlock?
Observe that a, b are both positive integers. Hence the case: a+b = 1, a^2 + b^2 - ab = p^2 is absurd. Let’s concentrate on the other cases one by one. a+b =p^2 , a^2 + b^2 - ab = 1 Now,observe this that a^2 + b^2 - ab = (a-b)^2 + ab = 1 , which is has a solution iff a = b = 1. What about the other case? a+b = p , a^2 + b^2 - ab = p
a+b = p, a^2 + b^2 - ab =p Observe a = – b (mod p ) this together with the second equation gives
3a^2 = 0 (modp). Now p can be 3. For p = 3, Observe that a = 1 and b = 2 is a solution. Now if p is not 3, then p must divide a and b. This implies a + b must be greater than equal to 2p, hence contradiction.

Hence the solutions are a = 1, b =1, p = 2

Watch video

Connected Program at Cheenta

Math Olympiad Program

Math Olympiad is the greatest and most challenging academic contest for school students. Brilliant school students from over 100 countries participate in it every year. Cheenta works with small groups of gifted students through an intense training program. It is a deeply personalized journey toward intellectual prowess and technical sophistication.

Similar Problems

Geometry of AM GM Inequality

AM GM Inequality has a geometric interpretation. Watch the video discussion on it and try some hint problems to sharpen your skills.

Geometry of Cauchy Schwarz Inequality

Cauchy Schwarz Inequality is a powerful tool in Algebra. However it also has a geometric meaning. We provide video and problem sequence to explore that.

RMO 2019 Maharashtra and Goa Problem 2 Geometry

Understand the problemGiven a circle $latex \Gamma$, let $latex P$ be a point in its interior, and let $latex l$ be a line passing through $latex P$. Construct with proof using a ruler and compass, all circles which pass through $latex P$, are tangent to $latex...

RMO 2019 (Maharashtra Goa) Adding GCDs

Can you add GCDs? This problem from RMO 2019 (Maharashtra region) has a beautiful solution. We also give some bonus questions for you to try.

Number Theory, Ireland MO 2018, Problem 9

This problem in number theory is an elegant applications of the ideas of quadratic and cubic residues of a number. Try with our sequential hints.

Number Theory, France IMO TST 2012, Problem 3

This problem is an advanced number theory problem using the ideas of lifting the exponents. Try with our sequential hints.

Algebra, Austria MO 2016, Problem 4

This algebra problem is an elegant application of culminating the ideas of polynomials to give a simple proof of an inequality. Try with our sequential hints.

Number Theory, Cyprus IMO TST 2018, Problem 1

This problem is a beautiful and simple application of the ideas of inequality and bounds in number theory. Try with our sequential hints.

Number Theory, South Africa 2019, Problem 6

This problem in number theory is an elegant applciations of the modulo technique used in the diophantine equations. Try with our sequential hints

Number Theory, Korea Junior MO 2015, Problem 7

This problem in number theory is an elegant application of the ideas of the proof of infinitude of primes from Korea. Try with our sequential hints.