Try this beautiful problem from Singapore Mathematical Olympiad, SMO, 2010 - Problem 7 based on the combination of equations.
Find the sum of all the positive integers p such that the expression (x-p) (x - 13) + 4 can be expressed in the form (x+q) (x+r) for distinct integers q and r.
Basic Algebra
Combination of Terms
Generator of a group
Answer: 26
Singapore Mathematical Olympiad
Challenges and Thrills - Pre College Mathematics
If you got stuck in this problem start this problem using this hint :
Start with the given hint
(x-p) (x-13) +4 = (x+q)(x+r)
Let's try to minimize the expression by taking x= -q
so , (-q -p)(-q -13) = -4 , which becomes (q+p) (q+13) = -4
As it is already given p and q are integers we can come up with many cases .
Try to find out the different cases we can have .............................
Starting after the last hint :
p+q = 4 and q+13 = -1 ......................................(1)
q+p = -4 and q +13 = 1.................(2)
p+q = 2 and q+13 = -2 and ..............................(3)
p+q = -2 and q+13 = 2 ..............................(4)
For 1st case its simple calculation that we get q = -14 and p = 8
The initial expression becomes (x-p) (x-13) +4 = (x-14) (x-17)
For 2 nd case :
q= -12 and p = 8
so the initial expression becomes : (x-p)(x-13)+4 = (x-9)(x-12)
try the rest of the cases............
Now let's talk about 3rd case ,
q= -15 , p = 17 and
hence (x - p) (x - 13) +4 = \(( x - 15)^2\) which is not true to this problem .
For last case , we obtain q = -11, q = 9 so the initial
(x- p) (x-13) +4 = \((x-11)^2\)
So p is 8 and 18 which add upto 8 +18 = 26 -(Answer)

Publishing original scientific research in a peer-reviewed journal is an achievement many scholars work toward for years. Achieving this feat early in one's academic journey requires exceptional intellectual rigor, creativity, and persistence. Aaditya Punatar and Muskan Sadana have reached this remarkable milestone, successfully publishing their collaborative research paper in the prestigious Journal of Emerging Investigators […]

Her project on quantum-accelerated Steiner trees for 15-minute cities earned a place among the finalists at the world's largest pre-college STEM competition. Prishaa Shrimali of Marymount School of New York, was selected as a Grand Finalist at the 2026 Regeneron International Science and Engineering Fair (ISEF) in Phoenix, Arizona. Her project was Optimizing Urban Accessibility: […]

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's M.Stat Entrance. They ranked within the first 50 in the entire country in these entrances. I.S.I. M.Stat Entrance

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's B.Stat Entrance and Chennai Mathematical Institute's B.Sc. Math Entrance. They ranked within the first 200 in the entire country in these entrances. Most of these students attended the problem solving workshops regularly, which happen 5 days every week. CMI B.Sc. Math Entrance […]