Solved

The Impossible 24 Game???

Posted on 2003-11-19
8
1,237 Views
Last Modified: 2012-06-22
Today during school I came across a couple of kids trying to figure out one of the cards of "The 24 Game".  This immediately struct me as odd, because being seniors it is very childish to play the game.  If you don't know how it works, the rules are:

1.) Use all numbers once and only once
2.) You can only use the four basic math functions (+ - / *)
3.) Your answer has to turn out to be 24

So as I was saying, I along with many others spent 20 minutes trying to figure it out and got no where, it has been bothering me all day.  The game is designed for elementary school kids, and I'm in AP Calculus as a sophmore in high school and can't figure it out.  And some of my friends were helping me and they got 1600's on the SAT's and couldn't get it.  So I thought I would post it here and see if any of you could get the answer, or if it is a misprint...I wasn't sure if it was a misprint or not, because the directions of the game say that all have atleast one section.

So here are the numbers:

       7
3            3
       5

Have fun, don't let it keep you up at night. ;)

Mark
0
Comment
Question by:simpsons17371
8 Comments
 
LVL 31

Expert Comment

by:GwynforWeb
ID: 9784906
(75 -3)/3

 from understanding brackets are allowed and it can not be done without combing the 7and 5 to make 75 which I also believe is in the rules (I ran a short program to test)
0
 
LVL 1

Expert Comment

by:meow00
ID: 9789420
How about :

  57-33

meow......
0
 
LVL 18

Accepted Solution

by:
meintsi earned 50 total points
ID: 9789760
Here you go ..................
(following the explicit rules)

((3×5)-7)×3 = 24
0
 
LVL 31

Expert Comment

by:GwynforWeb
ID: 9791838
meintsi, ouch! How did my program miss tagt ( and me for that matter)
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 31

Expert Comment

by:GwynforWeb
ID: 9791872
hmm, my program did not miss it i did not check the output properly. :-(
0
 
LVL 1

Author Comment

by:simpsons17371
ID: 9792253
thats it, meintsi....i spent so long trying to figure it out and i completely overlooked that, along with a tom of other people.  i wonder what that is all about
0
 

Expert Comment

by:Voice
ID: 9818087
GwynforWeb, would you mind posting the program?

thanks
0
 
LVL 31

Expert Comment

by:GwynforWeb
ID: 10048486
Voice,
     I just noticed your post. I ran this and then checked through the output for the right number of each number. Save it as a .htm and open in a browser. ( no programing awards here )

<script>
target=24
nums=new Array('3','3','5','7')
ops=new Array('+','-','*','/')
bl='('
br=')'
for (i=0;i<4;i++)
for (j=0;j<4;j++)
for (k=0;k<4;k++)
for (l=0;l<4;l++)
for (o1=0;o1<4;o1++)
for (o2=0;o2<4;o2++)
for (o3=0;o3<4;o3++)
{NumStr=bl+bl+nums[i]+ops[o1]+nums[j]+br+ops[o2]+nums[k]+br+ops[o3]+nums[l]
if (eval(NumStr)==target) document.write(NumStr+'='+target+'<br>')
}
</script>
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article seeks to propel the full implementation of geothermal power plants in Mexico as a renewable energy source.
Lithium-ion batteries area cornerstone of today's portable electronic devices, and even though they are relied upon heavily, their chemistry and origin are not of common knowledge. This article is about a device on which every smartphone, laptop, an…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now