Computer Science Canada

Number game: 1,3,4,6--> make 24

Author:  bevoyleick [ Thu Mar 25, 2004 8:38 pm ]
Post subject:  Number game: 1,3,4,6--> make 24

as topic, you're only allowed to use "basic" math symbols, including +,-,*,/, and brackets

eg: 1+2*3+4=11

*13+46=59 IS NOT ALLOWED

Spam....Moved....dodge, hurry up, get back and clean your spam area....

Author:  Paul [ Thu Mar 25, 2004 8:59 pm ]
Post subject: 

wah..? i don't get it.

Author:  AsianSensation [ Thu Mar 25, 2004 10:37 pm ]
Post subject: 

5,5,5,1 try to get 24 with that
3,3,8,8 try to get 24 with that

both are possible, btw.

oh, the answer for 1,3,4,6 is

6 / (1 - (3/4))

easy

Author:  jonos [ Thu Mar 25, 2004 10:52 pm ]
Post subject: 

don't the numbers have to be in the order of which they first appeared?

Author:  AsianSensation [ Fri Mar 26, 2004 4:29 pm ]
Post subject: 

I'm pretty sure it doesn't...

I've been playing the 24 game for quite some times. Namely because my Chinese translator has that on it (and tetris, the 2 games I play on it), and when I get bored or whatever, I just play that.

Author:  the_short1 [ Sun Mar 28, 2004 8:25 pm ]
Post subject: 

ok... so would this work???


2*12=24? or do i need more terms??? or does all the numbers (2,12) have to total 24 when added????

Author:  AsianSensation [ Mon Mar 29, 2004 8:34 pm ]
Post subject: 

no, you have 4 numbers, and you try to make 24 out of it. Usually you play this with a deck of cards. like you draw 4 cards, and then try to make 24 according to the face value of those cards.

Author:  Cervantes [ Tue Mar 30, 2004 4:25 pm ]
Post subject: 

another for 1,3,4,6 is

(1^3)*4*6
for 5,5,5, 1 its

((sqrt (5 * 5)) * 5) - 1

Author:  AsianSensation [ Tue Mar 30, 2004 5:47 pm ]
Post subject: 

hehehe, sorry Cervantes, notice the rule, only basic math operators, namely, the +, -, * and / could be used. No square root, no power, no log, no sin, cos, tan, blah blah blah.

Author:  Cervantes [ Tue Mar 30, 2004 6:33 pm ]
Post subject: 

not cool ....... Sad

Author:  Cervantes [ Wed Mar 31, 2004 8:14 am ]
Post subject: 

ahaha! got it!
(5-(1/5))*5
woot

Author:  AsianSensation [ Sat Apr 03, 2004 11:48 pm ]
Post subject: 

nice nice. Gj on getting that one. Now the 8,3,8,3 one won't be hard either, as soon as you got the 5,5,5,1 thing.

Author:  Cervantes [ Sun Apr 04, 2004 10:21 am ]
Post subject: 

no way! I can't get the 3388 one, and I've tried so amazingly hard.. even got other ppl to help me. no one can get it Sad

ill get it eventually..... Eh

Author:  Catalyst [ Sun Apr 04, 2004 8:59 pm ]
Post subject: 

8/(3-8/3)

oh no i ruined it for you Laughing

Author:  zeldamaster1230 [ Mon Apr 05, 2004 7:38 am ]
Post subject:  Thought I had it

damn
damn damn damn damn damn
I thought I had it, today, on the bus
but it turns out that Catalyst got it first ... and I was wrong!
Oh well ... any more?

Author:  Cervantes [ Mon Apr 05, 2004 7:56 am ]
Post subject: 

dylan... what are you talking about its wrong?!

harder to explain without drawing on paper... hmm Thinking
Posted Image, might have been reduced in size. Click Image to view fullscreen.

like that Laughing

but if go into Turing and do
code:

put 8 / (3 + (3/8))

it doesn't give you 24. cuz it doesn't know bedmas.

the pic up there is the same as:
Posted Image, might have been reduced in size. Click Image to view fullscreen.
yes?
if so thats 8/3 + 64/ 3 = 72 / 3 = 24.

EDIT: shows how much I do in civics class... Laughing[/i]

Author:  Raugrist [ Mon Apr 05, 2004 1:36 pm ]
Post subject: 

Cervantes wrote:
but if go into Turing and do
code:

put 8 / (3 + (3/8))

it doesn't give you 24. cuz it doesn't know bedmas.

Yes, Turing does know the order of operations. Your statement doesn't give you 24 because is should be 3 - 3/8 instead of plus.

Author:  Cervantes [ Mon Apr 05, 2004 3:33 pm ]
Post subject: 

um.
8/3 - 8/3/8 = 8/3 - 64/3 = -56/3 not= 24

however

8/3 + 8/3/8 = 8/3 + 64/3 = 72/3 = 24. like in the previous post.

yes?

Author:  Catalyst [ Mon Apr 05, 2004 4:19 pm ]
Post subject: 

8/3/8= (8/3)*(1/8 ) = 8/24 = 1/3

which is not 64/3

Author:  Cervantes [ Mon Apr 05, 2004 4:59 pm ]
Post subject: 

your not multiplying 8/3 by 1 / 8 though.

dunno how to explain it without drawing.. dunno if i could with drawing Thinking
however, take a calculator that has the fraction key and try it. you get 64/3.
The only problem with it is...

IS 8/ (3+ (3/8 )) the same as 8/3 + 8/3/8?

EDIT:
Catalyst. you should be ashamed.
8/(3/8) means we're dividing 8 by 3/8. When dividing fractions, we use the reciprical of the second term and multiply them.
8 / 3/8
= 8 * 8/3
= 64 / 3

Author:  PaddyLong [ Mon Apr 05, 2004 5:15 pm ]
Post subject: 

8 / ( 3 + ( 3 / 8 ) )
= 8 / ( 27 / 8 )
= ( 8 / 1 ) * ( 8 / 27 )
= 64 / 27

Author:  Cervantes [ Mon Apr 05, 2004 5:46 pm ]
Post subject: 

but if you divide 8 by 3 and 8 by 3/8 first then its right.
so, which is done first in this equation: 8 / 3 + (3/8 ). If you add them first, is there anyway to use brackets to make it divide 8 by each? I can't think of one, but then again I'm totally braindead right now Wink

Author:  Catalyst [ Mon Apr 05, 2004 7:17 pm ]
Post subject: 

no i shouldnt be ashamed
u missed some brackets

8/3/8 is equal 1/3

8/(3/8 ) is a different question and is equal to 64/3

also multiplying by 1/8 is the same as dividing by 8

finally you cant break up the question like that

1/(5+2) is not equal to 1/5+1/2

it only works when its the other way

(5+2)/3 is equal to 5/3+2/3

Author:  Cervantes [ Mon Apr 05, 2004 7:30 pm ]
Post subject: 

sry, i meant to draw the 3/8 part of the 8/3/8 smaller, but, you know, i was doing it in paint and with crappy school mice Confused

so then your way is the only way to do it? Crying or Very sad

Author:  Catalyst [ Mon Apr 05, 2004 7:38 pm ]
Post subject: 

im not sure
its the only one i can see

Author:  Cervantes [ Mon Apr 05, 2004 7:55 pm ]
Post subject: 

Crying or Very sad

Asian / Anyone else. are there any others?

Author:  AsianSensation [ Mon Apr 05, 2004 7:57 pm ]
Post subject: 

yeah, Catalyst's way is the only way of doing that problem. Though it was a hard problem for a 24 game.

Ask bugz if you want more of these, I'm sure he has some, since I got the 3,8,3,8 from him.


: