home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math
- Path: sparky!uunet!gatech!destroyer!wsu-cs!nova!seeta
- From: seeta@eng.wayne.edu (Seetamraju UdayaBhaskar Sarma)
- Subject: Re: A sequence matching puzzle
- Message-ID: <1992Dec30.023511.9744@cs.wayne.edu>
- Sender: usenet@cs.wayne.edu (Usenet News)
- Reply-To: seeta@eng.wayne.edu
- Organization: College of Engineering, Wayne State University, Detroit Michigan, USA
- References: <BzzDto.28M@vuse.vanderbilt.edu>
- Date: Wed, 30 Dec 1992 02:35:11 GMT
- Lines: 66
-
-
- The hypothesis below is true :-
-
- Just consider n1, and n2. define q1 = n1/HCF(n1,n2) & identically, q2 = n2/HCF(n1,n2).
-
- Then, it is easy to show, that C (as defined below) is > min(q1,q2).
-
- Now, it takes min(q1,q2) steps in the `sequence' defined for n1 and n2 to reach a
- common `number'...
-
- Generalize this for any pair of numbers n3, n4, that also `generate' the number C, via
- the expression provided by prashant... and U will see C > min (all pairs of n1, n2)
-
- HTP...
-
- Not a particularly appealing problem though...
-
- Seetamraju Udaya Bhaskar Sarma
- (email : seetam @ ece7 . eng . wayne . edu)
- In article 28M@vuse.vanderbilt.edu, waknispv@necs.Vanderbilt.EDU (Prashant V. Waknis) writes:
- -+>Consider any two pairs of numbers. (n1, n2) and (n3, n4).
- -+>Let (n1 * n2)/ (n1 +n2) = (n3 *n4) / (n3 + n4) = C.
- -+>
- -+>For example, n1 = 12, n2 = 60, n3 = 15, n4 = 30.
- -+>
- -+>Now, look at the following chart.
- -+>
- -+>12 | 0 12 24 36 48 60 ....
- -+>60 | 0 60 ....
- -+>-------------------------------------------
- -+>15 | 0 15 30 45 60 ....
- -+>30 | 0 30 60 ....
- -+>
- -+>Can you see how the chart is made? Basically, starting with 0, each
- -+>the sequences are constructed.
- -+>Now try to match the numbers (on the right of the |s) that are above
- -+>the horizontal line to the once that are below the horizontal line.
- -+>The rule is the following.
- -+>Assume that the numbers start appearing on the scene from left to right (in
- -+>increasing order)
- -+>
- -+>So, in the above example,
- -+>all zeros appear first, get matched to other zeros above/below the line.
- -+>12 comes, waits till 15 comes (for 3 time units), they match up.
- -+>24 comes, waits till 30 comes (for 6 time units), and matches to one
- -+>of the 30s.
- -+>Remaining 30 waits for 6 units, and matches to 36.
- -+>45 waits for 48 (3 units) and they match up.
- -+>All 60s match.
- -+>The cycle repeats.
- -+>
- -+>My hypotheis is, in this matching, the max. waiting period (in this case 6)
- -+>can't exceed C ( = (n1 * n2)/ (n1 +n2), in this case 10).
- -+>
- -+>Is this hypothesis right? Can somebody prove/disprove it?
- -+>
- -+>
- -+>-- Prashant
- -+>(waknispv@vuse.vanderbilt.edu)
- -+>
- -+>
- -+>
-
-
-
-
-