A Pre-RMO question! -17

Algebra Level 1

Let p p and q q be distinct integers such that 1981 + p = q 2 1981+p=q^2 and 1981 + q = p 2 1981+q=p^2 . Find the value of 1990 + p q 1990+pq .


The answer is 10.

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

Chew-Seong Cheong
Jun 19, 2020

Given that { 1981 + p = q 2 . . . ( 1 ) 1981 + q = p 2 . . . ( 2 ) \begin{cases} 1981 + p = q^2 & ...(1) \\ 1981 + q = p^2 & ...(2) \end{cases}

( 1 ) ( 2 ) : p q q 2 p 2 = ( q p ) ( q + p ) p + q = 1 q = ( p + 1 ) \begin{aligned} (1) -(2): \quad p-q & q^2 - p^2 = (q-p)(q+p) \\ \implies p+q & = - 1 \\ q & = -(p+1) \end{aligned}

( 1 ) : 1981 + p = ( ( p + 1 ) ) 2 1981 + p = p 2 + 2 p + 1 p 2 + p = 1980 p ( p + 1 ) = 1980 Note that q = ( p + 1 ) p q = 1980 p q = 1980 1990 + p q = 1990 1980 = 10 \begin{aligned} (1): \quad 1981 + p & = (-(p+1))^2 \\ 1981 + p & = p^2 + 2p + 1 \\ p^2 + p & = 1980 \\ p(p+1) & = 1980 & \small \blue{\text{Note that }q=-(p+1)} \\ -pq & = 1980 \\ pq & = - 1980 \\ \implies 1990+pq & = 1990 - 1980 = \boxed{10} \end{aligned}

Not to follow approach

for p in range(-1000,10000):
    for q in range(-1000,10000):
        if (1981+p==q*q):
            if (1981+q==p*p):
                print (p,q)

Output:

-45 44
44 -45

In both cases, p q = 1980 pq=-1980

1990 1980 = 10 \implies 1990-1980=\boxed{10}

You are taking the assumption that 1000 < p < 10000 ; 1000 < q < 10000 -1000<p<10000;-1000<q<10000 which may or may not be true. Also try to solve these questions without calculators and computers it will develop your mathematical skills.

Zakir Husain - 12 months ago

Log in to reply

Oh, sorry! I'll try it myself then.

Vinayak Srivastava - 12 months ago

In PRMO, you aren't allowed to use a computer, or any computing device. It is better if you try to solve algebraically like @Zakir Husain

Mahdi Raza - 12 months ago

Log in to reply

Sorry, I thought that calculator is allowed!

Vinayak Srivastava - 12 months ago
Zakir Husain
Jun 17, 2020

1981 + p = q 2 . . . . . . . [ 1 ] 1981+p=q^2.......[1] 1981 + q = p 2 . . . . . . . [ 2 ] 1981+q=p^2.......[2] [ 2 ] [ 1 ] q p = p 2 q 2 = ( p q ) ( p + q ) [2]-[1]\Rightarrow q-p=p^2-q^2=(p-q)(p+q) As p p and q q are distinct p q 0 \Rightarrow p-q\neq0 ( p + q ) = q p p q = 1 p + q = 1 p = ( q + 1 ) \Rightarrow (p+q)=\frac{q-p}{p-q}=-1\Rightarrow p+q=-1 \Rightarrow p=-(q+1) Putting this in [ 1 ] [1] 1981 q 1 = q 2 1981-q-1=q^2 1980 = ( q 2 + q ) \boxed{1980=(q^2+q)} p q = ( q + 1 ) q = ( q 2 + q ) = 1980 pq=-(q+1)q=-(q^2+q)=-1980 1990 + p q = 1990 1980 = 10 1990+pq=1990-1980=\boxed{10}

@Zakir Husain , now it's fine. And it's great that you mentioned distinct integers, otherwise, there is another solution: p = q 45.011 p = q \approx 45.011

Mahdi Raza - 12 months ago

@Zakir Husain , Pre-RMO question 18!

Mahdi Raza - 12 months ago

Log in to reply

Log in to reply

@Zakir Husain , I can't find any integer. Is the problem correct?

Mahdi Raza - 12 months ago

Log in to reply

@Mahdi Raza Yes the problem is correct and there exists such integers

Zakir Husain - 12 months ago

@Zakir Husain I cannot read any of the comments you are writing

Mahdi Raza - 11 months, 2 weeks ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...