34
   

The worlds first riddle!

 
 
markr
 
  1  
Reply Wed 27 Jul, 2005 10:26 pm
It's much simpler than that. There are N! arrangements (assuming unique flavors), and you're picking one of them. P(all correct) = 1/N!.

Rap: Your counting method is wrong. For each N, you show only one way to get them all wrong. In fact, as N grows, the number of ways grows. For example, with three cans, there are two ways to get them all wrong:
Actual: A B C
Wrong: B C A
Wrong: C A B

With four cans, there are nine ways to get them all wrong.
0 Replies
 
raprap
 
  1  
Reply Thu 28 Jul, 2005 01:56 am
Markr I see my error and see that the possibility of getting all right in a random pick out of N objects is 1/N!.

And when I look further at four and the number of permutations and the number of errors I count

There are 4! permutations of which
4 correct is 0 permutations & 0 is an even number
2 correct is a single permutations & 1 is an odd number
1 correct is 2 permutations & 2 is an even number
0 correct is 3 permutations & 3 is an odd number

now even permutations + odd permutations=4!
&
even permutations=odd permutations=4!/2
even = 4 correct+1 correct & 4 correct=1
so 1 correct=11 permutations
& if 0 correct is 9 permutations then 2 correct is 3 permutations.

So the odds for 4 are
4 correct=1/24
2 correct=3/24
1 correct=11/24
0 correct=9/24

But when I expand to 5
I get
5 correct (0 permutations)
3 correct (1 permutation)
2 correct (2 permutations)
1 correct (3 permutations)
0 correct (4 permutations)
Now I know that even permutations are 0 & 2 & 4 permutations and odd permutations are 1 & 3 permutations.
Moreover the even permutations are equal to the odd permutations which is equal to 5!/2 or 60. Where I keep getting into problems is counting the number of permutations in each case. There is (obviously) only one 0 permutation (all 5 right)

Moreover since any single permutation out of 5 (3 right) is switching AB, AC, AD, AE (4), BC, BD, BE (3), CD, CE (2). DE (1) is 10 (4+3+2+1) Note this is the fourth triangular number. So the number of single is 10 and three permutations is 50 (60-10) which is 1 right.
So the possibility is
5 right is 1/120
3 right is 10/120
1 right is 50/120 Note this is a special and not a general case
but how do you determine the number of 2 and 0 right permutations?

Suggestions are being solicited.

Rap c∫;?/
0 Replies
 
zipote
 
  1  
Reply Thu 28 Jul, 2005 06:57 am
Markr....

Wouldn't you also be able to chose ACB and BAC? You must mach them in any possible order right?
0 Replies
 
raprap
 
  1  
Reply Thu 28 Jul, 2005 07:54 am
Narkr was just listing the 'all wrong' permutation in a set of three to me. If the 'right' permutation was
ABC
the permutations ACB, BAC, & CBA would have 1 in ther right position

and BCA and CAB would have none in the right position.

In toto though if there would be 6 (3!) potential permutations.

By even an odd permutations I am talking about a pair switch, e.g. if you start with ABC and switch A and C you get CBA and you have one in the right place. Since 1 is an odd number this would be denoted a odd permutation.

To get to an even permutation pick any pair of CBA and switch them (say BA) to get CAB now you have none of them in the correct position (none right).

Calling 0 an even number, then for three items all right and all wrong are even permutations and
one right is an odd permutation. And for all 6 permutations 3 are odd and 3 are right.

This is interestingly a property that can be generalized for sets of N items. There are N! permutations and N!/2 of them are even and N!/2 of them are odd.

Rap
0 Replies
 
Tryagain
 
  1  
Reply Thu 28 Jul, 2005 08:34 am
Mark:

BIRTHDAYS
Assuming 365 days in a year, 23 and 41. Cool Cool

JUICE CANS
2: 1/2 Cool
3: 1/6 Cool
4: 1/24 Cool
10: 1/10! Cool
100: 1/100! Cool
N: 1/N! Cool WOW!

REVERSED DIGITS = 90 Cool

ARROWS = 9 Cool

ABC = 5/8 Cool

TV = 2 Cool


Rap:
Birthday Odds
This is a reversal problem--first you have to figure the probability of none of them share a birthday and subtracting this probability from certainty. The result, one birthday (or more) shared
P(E)=50% E is about 22 Pretty Cool
P(E)=90% E is about 40 ditto.
I've always heard it is a safe bet at 30. This is where the P(E) is about 72% Laughing

Juice Flavor
I think there something missing here Try, perhaps your forehead has an increasing gradient too? Shocked You could be right, but not this time. :wink:

Palindrome numbers between 100 and 1000
Including 101 and 999 there are 90 Cool

Whim and Drewdad's arrows
2A+B=17
A+2B=22
3B=27 B=9 Cool

a/c
a/b=3/4
b/c=5/6
a/c=a/b*b/c=3/4*5/6=15/24=5/8 Cool

T&V
T37V=2376
2376/88=27
T=2 Cool

Birthdays: Great answers!

One way to solve this is to turn the problem around and think about how likely it is for there to be NO matches in a group of a given size. If there is only one person a room there can be no shared birthdays since there is no one to share with. The probability of not having a match in this case is 1. Events that are certain are said to have a probability of 1. At the other extreme, with 367 people in the room, it is certain that there will be at least one shared birthday since there aren't enough birthdays to go around.

Now imagine that a second person walks into the room. The probability of that person not having the same birthday as the first occupant of the room is 365 / 366 or 0.997. There are 366 possible birthdays and only one of them is a match.

Now if the first two people in the room have different birthdays and a third person walks in, there are two days used up so the probability of the third person not sharing a birthday with either roommate is 364 / 366 and the probability of no sharing amongst the three of them is 1 * 365 / 366 * 364 / 366 = 0.992, which is still over 99%. So with 2 or 3 people in the room there is less than a 1% chance of a shared birthday.

You can continue to calculate the chances of not having a shared birthday for any number of people:

1 * 365 / 366 * 364 / 366 * 363 / 366 * 362 / 366 ...
Things change quickly as the number of people increases. With 10 people in the room there is a better than 10% chance of a match. When there are 23 people in a room the chance of a shared birthday is slightly greater than 50% and it rises above 90% with 41 people.


Juice: Mark knows it, Cool and I learn more from the different direction of thinking. Welcome back Zippy, Laughing I had alerted the FBI and Interpol. How high did you go?

One way to think about this problem is to look at the number of possible ways there are to arrange the cans of juice in a row. If you have two cans, let's say orange juice and apple juice, there are two possible arrangements:

apple orange / orange apple

One of these will be the correct arrangement. Since there are two possible guesses, the probability of guessing correctly is 1 out of 2 or 1/2.

Let's add grape juice. There are now six possible arrangements:

apple orange grape / apple grape orange /orange apple grape /orange grape apple /grape apple orange /grape orange apple.

Again, only one of these is the correct order so your chance of guessing correctly is 1 out of 6 or 1/6.

If you add a fourth can you will find that the number of possible arrangements is 24 and, therefore the probability of a correct guess is 1/24.

In general, the number of possible arrangements of N objects is

N * (N -1) * ... * 1

This is called the factorial of a number and is written N!

2! = 2
3! = 6
4! = 24

As N increases, N! increases very quickly. If you had 10 cans of juice, there would be 10! Possible arrangements. 10! = 3,628,800 so your chances of guessing correctly are rather small. With 100 cans of juice there are approximately

93,000,000,000,000,000,000,000,000,000,000,000,000,000,
000,000,000,000,000,000,000,000,000,000,000,000,000
000,000,000,000,000,000,000,000,000,000,000,000,000,
000,000,000,000,000,000,000,000,000,000,000,000,000 possible arrangements.

In general, the probability of correctly guessing all the flavors when you have N cans of juice is 1/N!


Try this series:

a) 1, 4, 9, 16, 25, ... Question


b) 1, 2, 6, 24, 120, 720, ... Question



You are traveling over the Pyrenees by air between two cities that are 1,600 kilometers apart. Your plane flies at a speed of 800 kilometers per hour. If there is no wind, your flying time is 2 hours each way. The round trip takes 4 hours.

But what if there is wind?

Let's say that on the way from City A to City B there is a headwind of 200 km/h. This means that your ground speed is only 600 km/h. But on the way back you have a tail wind of 200 km/h so your ground speed is 1,000 km/h.

How does the wind affect your round trip time? Is it longer, shorter, or the same as in calm conditions Question



In the target, ring A, ring B, and circle C have different point values. The sum of the point values of A and B is 23, of B and C is 33, and of A and C is 30.

What is the sum of the point values of A, B, and C Question


There are many three-digit numbers that are each divisible by 7 and also by 8 without remainder in each case. What is the largest of these three- digit numbers Question


The entire treasury of the Alpha club, consisting of $240, was to be divided into equal shares for each club member. When it was discovered that one member was not eligible for a share, the share of each of the remaining members increased by $1.

How many eligible members got a share of the $240 Question


(1,1,8) is a triple of natural numbers which has a sum of 10. Consider (1,8,1) and (8,1,1) to be the same triple as (1,1,8). How many different triples of natural numbers have a sum of 10? Include (1,1,8) as one of your triples Question


When a certain number N is divided by 3, the result is the same as when N is decreased by 8. What is the number N Question


That should sort the men from the boys.
0 Replies
 
zipote
 
  1  
Reply Thu 28 Jul, 2005 09:27 am
Thanks a bunch for the clarification. I actually wrote the permutations of 3 out like you....but then I decided to look at it in a silly way. I though about the permutations of the guess's instead. So if not shown the result of your first guess or the second while guessing all 3 cans at one time, I though one could guss as follows:
wrong,wrong,wrong
right,right,right
right,wrong,wrong
right,wrong,right
right,right,wrong
wrong,right,right
wrong,wrong,right
wrong,right,wrong

Thus one out of eight guess's would be correct.

Anyway, the trip was great! We started out at an altitude of about 2000m and made our way down to about 1500m. It was a first for me, but I am now hooked!

As far as the flight times go....they would be the same...rulling out that with wind, the plane would have to do a roundabout for takeoff to ensure that take off is with head wind and not tail wind....as planes don't like that sort of thing.

Working on your other problems now, but Markr will probably beat us all to 'em!
0 Replies
 
markr
 
  1  
Reply Thu 28 Jul, 2005 09:28 am
[size=7]SERIES
a) N^2
b) N!

FLYING
longer

TARGET
43

7 AND 8
952

ALPHA CLUB
15

TRIPLES
8

N
12
[/size]
0 Replies
 
markr
 
  1  
Reply Thu 28 Jul, 2005 09:48 am
CANS

Rap,
The number of ways of getting exactly M correct out of N is:
C(N,M) * W(N-M)
where
C(n,r) is the usual combination of n things taken r at a time
and
W(r) is the number of ways of getting r out of r wrong

W(0) = 1 because it makes the math work out!
W(1) = 0 which is why you can't get all but one right.
W(2) = 1
W(3) = 2

Therefore,
4 right out of 4 = C(4,4) * W(0) = 1 * 1 = 1
3 right out of 4 = C(4,3) * W(1) = 4 * 0 = 0
2 right out of 4 = C(4,2) * W(2) = 6 * 1 = 6
1 right out of 4 = C(4,1) * W(3) = 4 * 2 = 8
Total = 15
Therefore,
0 right out of 4 = 4! - 15 = 24 - 15 = 9
So, W(4) = 9

For N=5:
5 right = 1
4 right = 0
3 right = 10
2 right = 20
1 right = 45 (not 50)
Total = 76
0 right = 44
W(5) = 44

etc.
0 Replies
 
Tryagain
 
  1  
Reply Thu 28 Jul, 2005 03:22 pm
Juice Part 2 Twisted Evil

Now let's look at the probability of getting all the guesses wrong.

If there are only two cans of juice then you either guess both correctly or both incorrectly. But with three cans, you could get one right and the other two wrong.

What is the probability of getting all three wrong Question

With 10 cans of juice, what is the probability that you will get none of them right Question

How about with 100 cans Question

Can you come up with a general formula for the probability of getting no matches at all when trying to guess the flavors of N cans of juice Question

Finally, what is the probability of getting just one right Question
0 Replies
 
zipote
 
  1  
Reply Thu 28 Jul, 2005 05:22 pm
we're sll going to have nightmares about soda cans tonight! Laughing
0 Replies
 
markr
 
  1  
Reply Thu 28 Jul, 2005 06:13 pm
As in my previous post, let W(r) be the number of ways of getting r out of r wrong. This is the function Try is now asking for. Once it is found, the second part (getting just one right) is trivial.

There will be N cans that can be gotten right, and each will have W(N-1) ways of doing it. So, the final answer is:
N*W(N-1)/N! = W(N-1)/(N-1)!

We just need W(r).
0 Replies
 
markr
 
  1  
Reply Thu 28 Jul, 2005 11:08 pm
Here's a recursive formula for W(r) (the number of ways of getting r out of r cans wrong):

W(0) = 1
w(1) = 0
For N>0,
W(N+1) = SUM(i=0 to N-1, (N!/i!)*W(i))

N W(N)
--------
1 0
2 1
3 2
4 9
5 44
6 265
7 1854
8 14833
9 133496
10 1334961

The probability of getting them all wrong is W(N)/N!.

N P(all N are wrong)
------------------------
1 0
2 .5
3 .33333
4 .375
5 .36667
6 .36806
7 .36786
8 .3678819
9 .3678792
10 .3678795

As N approaches infinity, P(all N wrong) approaches (rather quickly) 1/e = .367879441...

As noted in the previous post, P(one right) = W(N-1)/(N-1)! (for N>2). This is just the previous term in the sequence (the number of ways of getting all N-1 cans wrong). Therefore, it also approaches 1/e very quickly.
0 Replies
 
raprap
 
  1  
Reply Thu 28 Jul, 2005 11:57 pm
After a Nap.

I rode the bike (see avatar) down along the Tug Valley Today---didn't see any sign of the Hatfield/McCoy Feud. I did see Devil Ans' Hatfield 13 ½ foot Italian Marble Statue and Headstone. No sign of Randall McCoy's grave.

Series
[size=7]a) 1,4,9,16,25,36,……,n^2
b) 1,2,3,24,120,720,5040,……..,n![/size]


Flying over Pyrenees
[size=7]D=(Va+Vw)to
D=(Va-Vw)tb
2D=(Va+Vw)to+(Va-Vw)tb=Vato+Vatb+Vw(to-tb)
and
Vave=2D/(to+tb)= [Vato+Vatb+Vw(to-tb)]/(to+tb)
dVave/dVw=0=(to-tb)/(to+tb)
so Vave is max when to=tb and Vw=0
so if there is any wind speed correction (Vw) it will take longer.[/size]


Rings
[size=7]A+B=23
B+C=33
A+C=30
2A+2B+2C=86
A+B+C=43[/size]


3 digit Divisible number
[size=7]n=m*7*8
and n<1000
1000/(7*8)=17.86….
so m=17
n=17*7*8=952[/size]


Alpha Club
[size=7]240/(n-1)=240/n+1
so
n^2-n-240=0
(n-16)(n+15)=0
n=16 or n=-15
negative numbers do not make sanity check so
n=16
so the number of eligible members is n-1=15 (each gets $16) [/size]


Triple Sums of 10
[size=7]Including 0 as counting number
(0,1,9)(0,2,8)(0,3,7)(0.4.6)(0,5,5) 5
(1,1,8)(1,2,7)(1,3,5)(1,4,5) 4
(2,2,6)(2,3,5)(2,4,4,) 3
(3,4,3) 1
5+4+3+1=13
13 with 0 as counting #
8 if zero is not counting #[/size]


Number
[size=7]N/3=N-8
N=3N-24
2N=24
N=12[/size]


Still pondering the can problem. Us hillbillies have to take our boots off when ciphering numbers greater than 10.

Rap c∫;?/
0 Replies
 
Tryagain
 
  1  
Reply Fri 29 Jul, 2005 09:20 am
0 Replies
 
markr
 
  1  
Reply Fri 29 Jul, 2005 02:10 pm
[size=7]CUBE
Excluding rotations, but including reflections, I have found 20.

SPIDER VERSION 1
It will never reach the top, but it can get as close as it wants to the top.

SPIDER VERSION 2
2 hours and an infinite number of movement intervals.

ADDITION
5.55
[/size]
0 Replies
 
raprap
 
  1  
Reply Sat 30 Jul, 2005 05:05 am
Cube Folding.
[size=7][size=7]I count eleven, which I subdivide into, Trivial (2),Easy (4), Variations on Easy(3), and Not So Obvious(2)

X's are cube sides, O's are Not there (except for format

1-Trivial)
OOOX
XXXX
OOOX
2-Trivial)
OOXO
XXXX
OOXO
3-Easy)
XOOO
XXXX
OXOO
4-Easy)
OOXO
XXXX
OXOO
5_Easy)
XOOO
XXXX
OOXO
6-Easy)
XOOO
XXXX
OOOX
7-Variations on easy)
OOXX
XXXO
OOXO
8-Variations on easy)
XXOO
OXXO
OOXX
9-variation on easy)
OOXX
XXXO
OXOO
10- Not so obvious)
XXXOO
OOXXX
11-Not so obvious)
OOOXX
XXXOO
XOOOO[/size]

Spider Version 1
[size=7]Never. The Spider's name is Zeno and he never reaches his limit[/size]

Spider Version 2
[size=7]Two hours[/size]

Sum
[size=7]½+1/20+5=5 11/20[/size]

BTW, Try, Gaulley season is fast approaching.

Rap c∫;?/
0 Replies
 
Tryagain
 
  1  
Reply Sat 30 Jul, 2005 08:19 am
0 Replies
 
raprap
 
  1  
Reply Sat 30 Jul, 2005 09:48 am
Both sections. But prefer the upper, it's more intense. Two years ago the river was closed on opening day (too much water). I went the second day and got to swim the strainer. The boat flipped at iron ring. Gawd! What a good day to live!

Tried the Upper New in a canoe last summer. Spent some time swimming there too. I've never kayaked, guess that will be on my gravestone, but my partner and I have done an eskimo roll in a canoe (wasn't intentional).

Average
[size=7]n=5*6-4*7=28[/size]

Camera
[size=7]Serial Number 2835[/size]

Bananas
[size=7]n=m*5*6=m*30
30mod7=2 group 2,4,6,1,3,5,0 m=4
m*20=130
120 bananas[/size]


Perfect Square
[size=7]n=10,100=100^2
so for n<100 there's 99 unless 0^2 is included, then it's 100[/size]


Rap c∫;?/
0 Replies
 
markr
 
  1  
Reply Sat 30 Jul, 2005 10:17 am
CUBE
Rap and I have the same answers. Nine of his can be reflected to yield new patterns.
#11 should be:
OOXX
XXXO
XOOO

[size=7]FIVE NUMBERS
2

SERIAL NUMBER
2835

BANANAS
120

SQUARES
99
[/size]
0 Replies
 
Tryagain
 
  1  
Reply Sat 30 Jul, 2005 11:25 am
Cubes - Six sides - Seven ways - No r/r. Otherwise 28 ways.

Code:

ooo
o
o
o

o
ooo
o
o

oo
oo
o
o

oo
o
oo
o

oo
o
o
oo

o
o
oo
o
o

o
oo
oo
o





Rap wrote, "I've never kayaked, guess that will be on my gravestone, but my partner and I have done an eskimo roll in a canoe (wasn't intentional)." Cool


That reminded me of a birthday trip on a cold October day and an Eskimo who tried to keep me warm using a parafin stove, whilst cutting the cake.
The resulting fire lead to the punch line - 'You can't have your kayak and heat it too'. Laughing
0 Replies
 
 

Related Topics

Alternative Einstein's riddle answer - Discussion by cedor
Urgent !!! Puzzle / Riddle...Plz helpp - Question by zuzusheryl
Bottle - Question by Megha
"The World's Hardest Riddle" - Discussion by maxlovesmarie
Hard Riddle - Question by retsgned
Riddle Time - Question by Teddy Isaiah
riddle me this (easy) - Question by gree012
Riddle - Question by georgio7
Trick Question I think! - Question by sophocles
Answer my riddle - Question by DanDMan52
 
Copyright © 2025 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.11 seconds on 06/18/2025 at 11:20:58