A few brainteasers for today

Please use this forum for general Non-Football related chat

Postby 112-1077774096 » Thu Jul 20, 2006 3:36 pm

when they all get together in the courtyard they just ask each other if they have all been in the room or not, if some say they havent been in then thats the answer, if they all say they have been in then thats the answer
112-1077774096
 

Postby dawson99 » Thu Jul 20, 2006 3:38 pm

peewee wrote:when they all get together in the courtyard they just ask each other if they have all been in the room or not, if some say they havent been in then thats the answer, if they all say they have been in then thats the answer

no, the point is that they have to meet in the courtyard before they start going in the room.
0118 999 881 999 119 7253
Image
User avatar
dawson99
>> LFC Elite Member <<
 
Posts: 25377
Joined: Mon Apr 19, 2004 12:56 pm
Location: in the mo fo hood y'all

Postby account deleted by request » Thu Jul 20, 2006 3:47 pm

s@int wrote:xy - y = x5 - y4 - y3 = 20; x>0, y>0.  thats my mathematical solution anyway :D
The prisoners should decide that whoever is the first prisoner to enter the room after their huddle is the leader (as  'elected' by the guards).
He turns on the light, and is the only person allowed to turn on the light.
Each and every other prisoner turns off the light if and only if the light is already on and if they have not already done so.
When the leader turns on the light for the 100th time (this includes the first one), time to be free! Of course, as the leader has to return to the room 100 times, it could take over 27 years...

the only problem with my solution is it would take 27 years

This one works, but 27 years ?
account deleted by request
 
Posts: 20690
Joined: Sun Apr 30, 2006 5:11 am

Postby 112-1077774096 » Thu Jul 20, 2006 3:48 pm

dawson99 wrote:
peewee wrote:when they all get together in the courtyard they just ask each other if they have all been in the room or not, if some say they havent been in then thats the answer, if they all say they have been in then thats the answer

no, the point is that they have to meet in the courtyard before they start going in the room.

so they agree that only if they go in twice will they toggle the light, on the last day when the last prisoner goes in, if the light has been toggled he knows someone has been in twice so that means someone has had to miss out
112-1077774096
 

Postby dawson99 » Thu Jul 20, 2006 3:55 pm

Actually, this riddle was sent to me by soeone i know at berkely in usa, and they have never solved it either... heres some more tips to help...maybe

Note 1: (1/8/2003 3:51PM Update) What is meant by optimal? If your solution is optimal, it means you can prove that no other algorithm can produce a lower average running time. This is usually very hard to do though, and I would be surprised if anyone ever sends me such a proof. So the best we can do in the meantime is try to beat the best average running time we know of. The number to beat so far is around 3500 days. So BEFORE YOU E-MAIL ME YOUR SOLUTION, check its average time to see if beats the 4000 day ballpark. If you get a number around 27-28 years, then you've found the solution most people who solve the puzzle come up with. However, it's not optimal.

Note 2: (1/8/2003 3:49PM Update) How to compute average running time? The preferred method is to do a probabilistic analysis using pencil and paper. But if you haven't learned about stuff like that, a much simpler way is to just program your solution and run it maybe 100 times, recording how many days elapsed in each invocation. Afterwards you should have an array of 100 numbers. Now take the average of all them, and you'll have an empirical average which is close to the theoretical one.

Note 3: (11/7/2002 7:35AM Update) The problem statement used to say "The prisoners are allowed to get together one night to discuss a plan." In the forum, quite a few people mentioned the clever solution of simply having the planning meeting in the central living room, and then asserting that everyone has been there on the first day of the random selection process. To assure that this problem is not so easily defeated, I have stipulated that the meeting happen in the courtyard.
0118 999 881 999 119 7253
Image
User avatar
dawson99
>> LFC Elite Member <<
 
Posts: 25377
Joined: Mon Apr 19, 2004 12:56 pm
Location: in the mo fo hood y'all

Postby account deleted by request » Thu Jul 20, 2006 4:02 pm

I think we should stick to Stmichael and his 7 + 5 are 13 type riddles mate :D
account deleted by request
 
Posts: 20690
Joined: Sun Apr 30, 2006 5:11 am

Postby stmichael » Fri Jul 21, 2006 2:10 pm

Today's batch is a maths lesson: :D


A teacher says: I'm thinking of two natural numbers bigger than 1. Try to guess what they are.
The first student knows their product and the other one knows their sum.
First: I do not know the sum.
Second: I knew that. The sum is less than 14.
First: I knew that. However, now I know the numbers.
Second: And so do I.
What were the numbers?


The day before yesterday I was 25 and the next year I will be 28. (This is true only one day in a year.) When was I born?


What mathematical symbol can be put between 5 and 9, to get a number bigger than 5 and smaller than 9?


Can you use all 9 numerals - 1, 2, 3, 4, 5, 6, 7, 8 a 9 - above and below a fraction symbol in a random order, to create a fraction equalling 1/3 (one third)?


What 5-digit number has the following features? If we put numeral 1 at the beginning, we get a number three times smaller, than if we gave the numeral 1 behind this number.


In the following "equation" 101 - 102 = 1 move one numeral, in order to rectify it.
User avatar
stmichael
Forum Moderator
 
Posts: 22644
Joined: Tue Feb 10, 2004 3:06 pm
Location: Middlesbrough

Postby dawson99 » Fri Jul 21, 2006 2:12 pm

i could answer these, but as a bookies i know all the answers:blues:
0118 999 881 999 119 7253
Image
User avatar
dawson99
>> LFC Elite Member <<
 
Posts: 25377
Joined: Mon Apr 19, 2004 12:56 pm
Location: in the mo fo hood y'all

Postby account deleted by request » Fri Jul 21, 2006 2:14 pm

no 2  feb 28 th Wrong   :(   



Well done Dward  :D
account deleted by request
 
Posts: 20690
Joined: Sun Apr 30, 2006 5:11 am

Postby account deleted by request » Fri Jul 21, 2006 2:26 pm

Wheres Dward when you need him ? :D
account deleted by request
 
Posts: 20690
Joined: Sun Apr 30, 2006 5:11 am

Postby account deleted by request » Fri Jul 21, 2006 2:43 pm

no 6=  101-10 squared (I dont know how to show a little 2)
account deleted by request
 
Posts: 20690
Joined: Sun Apr 30, 2006 5:11 am

Postby dward » Fri Jul 21, 2006 6:35 pm

s@int wrote:Wheres Dward when you need him ? :D

Here I am! :D

stmichael wrote:Today's batch is a maths lesson: :D


A teacher says: I'm thinking of two natural numbers bigger than 1. Try to guess what they are.
The first student knows their product and the other one knows their sum.
First: I do not know the sum.
Second: I knew that. The sum is less than 14.
First: I knew that. However, now I know the numbers.
Second: And so do I.
What were the numbers?


The day before yesterday I was 25 and the next year I will be 28. (This is true only one day in a year.) When was I born?


What mathematical symbol can be put between 5 and 9, to get a number bigger than 5 and smaller than 9?


Can you use all 9 numerals - 1, 2, 3, 4, 5, 6, 7, 8 a 9 - above and below a fraction symbol in a random order, to create a fraction equalling 1/3 (one third)?


What 5-digit number has the following features? If we put numeral 1 at the beginning, we get a number three times smaller, than if we gave the numeral 1 behind this number.


In the following "equation" 101 - 102 = 1 move one numeral, in order to rectify it.


1) I don't know - for now.

2) He was born on December 31st and said it on January 1st.

3) 5.9

4) 5832/17496 - that took ages to find out.

5) I don't know.

6) Move the number 2 half a line up so you get 101-102(squared)=1.

No more maths please st.mike!!! :D
Last edited by dward on Fri Jul 21, 2006 6:36 pm, edited 1 time in total.
User avatar
dward
>> LFC Elite Member <<
 
Posts: 3220
Joined: Fri Mar 18, 2005 7:07 pm

Postby account deleted by request » Fri Jul 21, 2006 6:46 pm

NO 1             =            2 AND 9
account deleted by request
 
Posts: 20690
Joined: Sun Apr 30, 2006 5:11 am

Postby account deleted by request » Fri Jul 21, 2006 6:48 pm

NO 5 = 42857.
account deleted by request
 
Posts: 20690
Joined: Sun Apr 30, 2006 5:11 am

Postby JC_81 » Fri Jul 21, 2006 6:55 pm

deleted
Last edited by JC_81 on Fri Jul 21, 2006 7:01 pm, edited 1 time in total.
JC_81
>> LFC Elite Member <<
 
Posts: 5296
Joined: Thu Jan 30, 2003 9:57 pm

PreviousNext

Return to General Chat Forum

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 46 guests

  • Advertisement
ShopTill-e