All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
(q2 + 1)/(pq -1) = Integer (Posted on 2009-12-25) Difficulty: 3 of 5
Find all possible pairs (p, q) of positive integers, with p ≤ q, such that (q2 + 1)/(pq - 1) is an integer.

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution Comment 2 of 2 |
Let (q²+1)/(pq-1) = k

1) Max value that k can take in terms of q is when p = 1

we have to find maximum value of

(q²+1)/(q-1) = (q+1) + 2/(q-1)

So, max value = q+3 (when q=2) --- (a)

2) q²+1 = k(pq-1)

=> k+1 = q(kp-q)

=> k+1 is a multiple of q

=> q+4 is a multiple of q (from (a))

So, maximum value that q can take is 4

Cases:

i) q = 1 p = 1 is not a solution

ii) q = 2

5/(2p-1) is integer => p = 1

iii) q = 3

10/(3p-1) is integer => p = 1 and p = 2

iv) q = 4

17/(4p-1) is integer => no solution

The solutions are

(1,2) , (1,3) and (2,3)


  Posted by Praneeth on 2010-01-08 08:35:43
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (24)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information