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

Home > Just Math
Minimum distance between sets (Posted on 2023-08-21) Difficulty: 3 of 5
Let m,n be positive integers greater than 1. We define the sets Pm={1/m, 2/m, ..., (m-1)/m} and Pn={1/n, 2/n, ..., (n-1)/n}.

Find the distance between Pm and Pn, that is defined as min{|a-b|: a∈Pm, b∈Pn}

No Solution Yet Submitted by Danish Ahmed Khan    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution answer (spoiler) Comment 1 of 1
This seems like a D1. Am I missing something?

If m and n have a common factor, the distance is zero.

Otherwise the distance is 1 / (m * n).

  Posted by Charlie on 2023-08-21 08:56:10
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 (9)
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