wu :: forums
« wu :: forums - Divide The Expressions, Get Integers »

Welcome, Guest. Please Login or Register.
Nov 25th, 2024, 10:28am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   medium
(Moderators: Grimbal, william wu, SMQ, Icarus, ThudnBlunder, towr, Eigenray)
   Divide The Expressions, Get Integers
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Divide The Expressions, Get Integers  (Read 276 times)
K Sengupta
Senior Riddler
****





   


Gender: male
Posts: 371
Divide The Expressions, Get Integers  
« on: Jul 24th, 2007, 8:14am »
Quote Quote Modify Modify

Analytically determine all possible pairs of positive whole numbers (p, q) such that:
 
 (p2q + p + q)/(pq2 + q + 7) is a positive integer.
 
« Last Edit: Jul 24th, 2007, 8:25am by K Sengupta » IP Logged
Eigenray
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 1948
Re: Divide The Expressions, Get Integers  
« Reply #1 on: Jul 26th, 2007, 3:18pm »
Quote Quote Modify Modify

Let k = (p2q+p+q)/(pq2+q+7).  Then
hidden:
qk - p = (q2-7p)/(pq2+q+7)
is an integer.  Clearly it is < 1.
 
Case (I): qk-p -1.  That is,
7p-q2 pq2+q+7,
so in particular 7p > pq2, which means q is either 1 or 2.
 
If q=1, then we have
qk-p = (1-7p)/(p+8) = -7 + 57/(p+8)
is an integer, so p+8 | 57.  The only divisors of 57 larger than 8 are 19 and 57, so we get the solutions (p,q) = (11,1) and (49,1).  
 
If q=2, we similarly have 4(qk-p) = -7 + 79/(4p+9) is an integer.  But 79 is prime, and 4p+9 can't be 1 or 79.
 
Case (II): qk-p=0.  Then q2=7p, and k=p/q=q/7.  This gives the infinite family of solutions (p,q) = (7k2, 7k).
« Last Edit: Jul 26th, 2007, 3:20pm by Eigenray » IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board