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

Home > Numbers
All/Any different? (Posted on 2005-08-16) Difficulty: 4 of 5
Given positive integer n, consider the set of numbers {n²+1, n²+2, ... (n+1)²}. If we pick two numbers x and y out of that set, how many different values can the product xy take?

See The Solution Submitted by Federico Kereki    
Rating: 3.5000 (6 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution re(2): what am I missing? | Comment 12 of 27 |
(In reply to re: what am I missing? by owl)

I think owl put his/her finger on the problem, that being 'how do we know each pair produces a unique product?'.  This i will attempt to prove:

Consider the case where we have two distinct pairs of numbers (a,b) and (c,d) from the set with the same product.  It follows that to be distinct, these pairs must be mutually exclusive (ie. a != c or d, and b != c or d). 

Let x = gcd(a,c), y = gcd(b,d), then there must be integers i and j such that a = ix, b = jy, c = jx, d = iy.  Further, since a != c or d, it follows that i != j, and x != y.  WOLOG let i < j, and x < y.

Since ix > n2, it follows that i + x > 2n.  Since j >= i + 1, y >= x + 1, we know 

  • b = jy
  • b >= (i+1)(x+1)
  • b >= ix + (i + x) + 1
  • b > n2 + 2n + 1
  • b > (n+1)2, a contradiction.
Therefore, there are no two pairs of numbers in the set with the same product, and owl's upper bound of n(2n+1) is always the total number of distinct products.  (corrected after subsequent posts, thanks guys)

Edited on August 16, 2005, 11:30 pm
  Posted by Josh70679 on 2005-08-16 22:06:21

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 (3)
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