You are not logged in. Login Now
 0-24   25-49   50-74   75-99   100-122      
 
Author Message
rcurl
Math Puzzles Mark Unseen   Oct 5 05:36 UTC 2001

For math puzzles.
122 responses total.
rcurl
response 1 of 122: Mark Unseen   Oct 5 05:41 UTC 2001

I came  across this puzzle. Some of you may know the answer, so I
won't ask for that. I will ask for an *algorithm* for finding the
answer that is not trial and error:

Let the decimal numbers 1 through 9 be represented by *  . Use the numbers
1 through 9 only once each to make the following equation true:

      *        *       *
    -----    -----   -----  =  1
     * *      * *     * *


brighn
response 2 of 122: Mark Unseen   Oct 5 15:09 UTC 2001

What is the operator between the fractions? It can't be multiplication,
because even the largest possible value for each (and this breaks the rules)
results in a number less that 1: 9/10^3 = 0.729
rcurl
response 3 of 122: Mark Unseen   Oct 5 16:10 UTC 2001

Oh,  sorry, it is plus (+). I must have drifted off while composing
it.  Here is the correct equation:

       *       *       *
     ----- + ----- + -----  =  1
      * *     * *     * *

remmers
response 4 of 122: Mark Unseen   Oct 5 19:26 UTC 2001

Algorithm:  Try each permutation of the digits 1..9, in lexicographic
order, until you find one that works.  Success guaranteed!
remmers
response 5 of 122: Mark Unseen   Oct 5 19:27 UTC 2001

(In no more than 362,880 steps, I might add.)
rcurl
response 6 of 122: Mark Unseen   Oct 5 20:53 UTC 2001

That's not "trial and error"? Well, it's not *random* trial and error. 

I found, with trials, no errors, that one can get very *close* to the
sum of unity quite easily. There should therefore be a search algorithm
in the sample space that converges on unity. That would be a little
better than either a random or exhaustive search. 
brighn
response 7 of 122: Mark Unseen   Oct 5 21:20 UTC 2001

Are you aware:
1) In possesion of such an algorithm, and asking us to replicate it?
2) Aware of such an algorithm's existence, and oping that one of us will
construct it?
or 3) Postulating the existence of such an algorithm?

It would help me to know how much time to really spend on this. If (3),
fuggetaboutit. ;}
brighn
response 8 of 122: Mark Unseen   Oct 5 23:54 UTC 2001

Ok, to find the answer, I did an exhaustive search. It took me about five
minutes to write it in VB (it was a series of 9 for..next and if..thens,
appropriately nested)and maybe 2 seconds to get an answer. That was the
exhaustive search.

Given the answer, I notice that some of my assumptions were wrong, but all
the same, I could have made an educated guess to greatly reduce John's
options. For instance, we know that the numerators will have to be largish
and the denominators smallish, since the highest POSSIBLE value is 9/12 (or
3/4), and once the 1,2, and 9 have been taken out of the pool, it's hard to
make 1/4 out of the six remaining digits (8/34, the next highest value after
those digits have been removed, is less than 1/4). 

Since I find it's sometimes easier to solve a maze by starting at the exit,
the solution is:
9/12 + 7/68 + 5/34
(5/34 = 10/68, so 5/34 + 7/68 = 17/68 = 1/4)

An exhaustive search demonstrates that this is the only answer (barring the
other five permutations of the same fractions, of course).

rcurl
response 9 of 122: Mark Unseen   Oct 6 06:11 UTC 2001

Well, that wasn't the question, but thanks for the answer anyway. 8^}

What is neat about this is that there IS an answer. Can this be proven,
that there is an answer, without the exhaustive search? What is the
set of answers for an arbitrary sum? (Many would be impossible). 
brighn
response 10 of 122: Mark Unseen   Oct 7 06:29 UTC 2001

You haven't answered the question in #7. I note that my "Are you aware:"
should have been "Are you:"

If you're just guessing that an algorithm exists, then I'm not going to rack
my brain to find it. ;}
rcurl
response 11 of 122: Mark Unseen   Oct 7 22:02 UTC 2001

My answer to #7 is yes, I am aware.  
brighn
response 12 of 122: Mark Unseen   Oct 8 02:14 UTC 2001

I rephrased the question.
Are you aware that such an algorithm exists?
If so, are you in possession of such an algorithm?
rcurl
response 13 of 122: Mark Unseen   Oct 8 05:05 UTC 2001

No^2.  That's why I asked the question originally. 
brighn
response 14 of 122: Mark Unseen   Oct 8 14:07 UTC 2001

Well, this *is* the puzzle item; "puzzle" tends to imply that the solution
is known by the querent, or at least known to exist. ;}

Given the solution, I'm not sure if there's a precise algorithm that would
lead directly to it, or if  there are merely ways to minimizing the search
process by ruling out certain possibilities (for instance, the numerators
would have to be large-ish, but an early prediction of mine that they would
all be in (6, 7, 8, 9) turned out to be false).
rcurl
response 15 of 122: Mark Unseen   Oct 8 15:54 UTC 2001

I looked in science for a mathematical puzzle item, but there wasn't
one, so I thought this puzzle would interest the puzzle people. It
did. It was solved (by the exhaustive technique), which was nice, but
the other properties of the puzzle interest me more. I saw no need
to separate the specific from the general. So, what are you trying
to do? Analyze exhaustingly the motivations of posting a puzzle in
the puzzle cf, and find fault with them?

In any case, I knew the numerical solution to the puzzle existed, and
there *must* exist a most efficient algorithm for finding it. So the
puzzle meets at least two of your criteria. 

Consider, if you will, that I am posting a meta-puzzle - and puzzle
about a puzzle. Shall we start a meta-puzzle cf?
brighn
response 16 of 122: Mark Unseen   Oct 8 16:25 UTC 2001

#15 para 1> Sheesh, Rane, don't get so defensive. I was just pointing out that
my own strategies for approaching apuzzle where a solution is known to exist
is different from approaching a puzzle where that isn't known. I'm not trying
to bitch you out or nuffin. ;}

Since we've got A + B + C = 1, where A, B, and C are all fractions, it would
seem to me that the algorithm would start by identifying, first, all fractions
a/(10b+c), such that a, b, and c are all different, and a/(10b+c) can be
reduced to a simple ratio, like 1/2 or 3/4.

If that fails to produce three fractions with nine different digits, the next
step would be to identify all fraction PAIRS a/(10b+c), d/(10e+f), where a..f
are all different, and the sum a/(10b+c) + d/(10e+f) can be reduced to a
simple ratio.

In the case of this problem, the algorithm would succeed there, since 9/12
= 3/4 and 7/68 + 5/34 = 17/68 = 1/4. Something we notice that also simplifies
the algoithm is that 68 is a multiple of 34. While it's possible that D/E +
F/G = (DG + EF)/EG could be reduced even if E were not a multiple of G (or
vice versa), it's less likely (intuitively, at least) that such a fraction
pair that satisfies the solution could be found.

This isn't what I'd call an algorithm, though, as much as a way to hone wild
guesses into educated ones. For instance, I settled nearly immediately on 9/12
as a likely component, but got caught up in trying to find two other reducible
fractions using the remaining 6 digits.
remmers
response 17 of 122: Mark Unseen   Oct 8 16:38 UTC 2001

(I'm trying to figure out how my strategy for solving a puzzle
when a solution is known to exist would differ from one that in
which it isn't known.  Only thing I could come up with is that
in the latter case, I might spend some effort seeing if I could
show that there is no solution.

I might expend that effort even if some source asserted that
there is a solution, if I didn't fully trust the source.)
brighn
response 18 of 122: Mark Unseen   Oct 8 18:39 UTC 2001

I'm not sure my specific *stretegy* would differ, but my diligence would, and
I think that's what I meant. If I *knew* there was an answer, I'd put more
effort into finding it, assuming I were working on what is, after all, a
distraction. If I had committed to finding a solution to a puzzle of some
relevance, on the other hand, I'd want to know what solutions had already been
obtained so that I built on them instead of reconstructing them.
rcurl
response 19 of 122: Mark Unseen   Oct 8 19:31 UTC 2001

I'm more intrigued by the nature of the puzzle. My attention is caught for
example, by the fact there is just one solution. Are there solutions in,
say, base 7 or base 13? (There is none in base 4.) I'm not a number
theorist, but this puzzle seem to offer a wide range of intriguing
relationships. Maybe, an opportunity for one of those mathematics prizes? 

rcurl
response 20 of 122: Mark Unseen   Oct 8 19:41 UTC 2001

(Re #5: there are only 60,480 fraction combinations - should be some way to
take advantage of that in an exhaustive search.)
remmers
response 21 of 122: Mark Unseen   Oct 9 11:06 UTC 2001

(Yes, you're right.  My upper bound of 9! = 362,880 didn't take
commutativity of addition into account.)
jhudson
response 22 of 122: Mark Unseen   Oct 9 18:14 UTC 2001

Re 17: I have proved that which has been said unprovable.
See http://www.geocities.com/joshudon/bignumbers/proofs.htm
brighn
response 23 of 122: Mark Unseen   Oct 9 20:20 UTC 2001

Um, ok. I don't see anything which has been said to be unprovable, nor do I
see any formal proofs.
rcurl
response 24 of 122: Mark Unseen   Oct 9 23:43 UTC 2001

Re  #22:"The web page you are trying to access doesn't exist on Yahoo!
GeoCities."
?????
 0-24   25-49   50-74   75-99   100-122      
Response Not Possible: You are Not Logged In
 

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss