Solved

The Impossible 24 Game???

Posted on 2003-11-19
8
1,238 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 31

Expert Comment

by:GwynforWeb
ID: 9791838
meintsi, ouch! How did my program miss tagt ( and me for that matter)
0
 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Solving an equation 8 63
Proportion 4 47
Geomentry-Fundamental concepts 6 66
China bladeless fan : comment on quality & blowing strength & noise level 4 78
Complex Numbers are funny things.  Many people have a basic understanding of them, some a more advanced.  The confusion usually arises when that pesky i (or j for Electrical Engineers) appears and understanding the meaning of a square root of a nega…
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…
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 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