[Friday Riddler] Meet for lunch

A forum for the silly stuff. You want be goofy? Funny? Post up your favorite LOLcat? This is the place.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
User avatar
Mike
Boy of Summer
Posts: 10015
Joined: Mon Apr 11, 2016 2:56 pm
Location: Nebraska, USA
Contact:

[Friday Riddler] Meet for lunch

Postby Mike » Fri Mar 31, 2017 11:53 am

This week's riddlers: https://fivethirtyeight.com/features/wh ... for-lunch/

Riddler Express
On a lovely spring day, you and I agree to meet for a lunch picnic at the fountain in the center of our favorite park. We agree that we’ll each arrive sometime from noon and 1 p.m., and that whoever arrives first will wait up to 15 minutes for the other. If the other person doesn’t show by then, the first person will abandon the plans and spend the day with a more punctual friend. If we both arrive at the fountain at an independently random time between noon and 1, what are the chances our picnic actually happens?

Riddler Classic
On a standard chessboard, what is the largest number of each piece (work it out first for kings only, then for knights only, bishops, rooks and queens) that can be placed on the board so that none of the pieces attack each other? (You don’t have to do pawns!)

What is the smallest number of each piece that can be placed on the board such that every empty square is under attack?

Extra credit: For each question above, how many possible correct arrangements are there?
All I know is my food tastes better when I take my food-tastes-better pill.
User avatar
Mike
Boy of Summer
Posts: 10015
Joined: Mon Apr 11, 2016 2:56 pm
Location: Nebraska, USA
Contact:

Re: [Friday Riddler] Meet for lunch

Postby Mike » Fri Mar 31, 2017 12:16 pm

Riddler Express: the answer is .

I just graphed it out. Laid out the probabilities on a graph and calculated the area under the curve.
All I know is my food tastes better when I take my food-tastes-better pill.
User avatar
Eliahad
Mr. 3025
Posts: 3033
Joined: Mon Apr 11, 2016 4:24 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: [Friday Riddler] Meet for lunch

Postby Eliahad » Fri Mar 31, 2017 12:22 pm

What were your axes, if you don't mind my asking?
"What are you going to do?"
"I'm going to roll an 8."
User avatar
Mike
Boy of Summer
Posts: 10015
Joined: Mon Apr 11, 2016 2:56 pm
Location: Nebraska, USA
Contact:

Re: [Friday Riddler] Meet for lunch

Postby Mike » Fri Mar 31, 2017 12:25 pm

The chess one is harder.

Starting with the first question, for all the pieces, I have a minimum... that is, I have a number that I can arrange to make it work. There may be a way to squeeze more in there, but I don't know yet.

Kings -- 16 minimum
Knights -- 24 minimum
Bishops -- 14 minimum
Rooks -- 8... I'm pretty sure the answer is just 8.
Queens -- 8... Once again, final answer is 8.
All I know is my food tastes better when I take my food-tastes-better pill.
User avatar
Mike
Boy of Summer
Posts: 10015
Joined: Mon Apr 11, 2016 2:56 pm
Location: Nebraska, USA
Contact:

Re: [Friday Riddler] Meet for lunch

Postby Mike » Fri Mar 31, 2017 12:30 pm

All I know is my food tastes better when I take my food-tastes-better pill.
User avatar
Mike
Boy of Summer
Posts: 10015
Joined: Mon Apr 11, 2016 2:56 pm
Location: Nebraska, USA
Contact:

Re: [Friday Riddler] Meet for lunch

Postby Mike » Fri Mar 31, 2017 12:38 pm

Alternately, I suppose one axis is the time I arrive (from noon to 1pm), and the other axis is the time YOU arrive (from noon to 1pm), and then you color in all the parts of the graph that would make a successful meet-up and calculate the area of that. Different graph, same area.
All I know is my food tastes better when I take my food-tastes-better pill.
User avatar
Eliahad
Mr. 3025
Posts: 3033
Joined: Mon Apr 11, 2016 4:24 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: [Friday Riddler] Meet for lunch

Postby Eliahad » Fri Mar 31, 2017 12:39 pm

Okay, so like, if you arrive at Noon, there's a 25 percent chance that the friend would arrive in the window. But at 12:01 that chance goes up slightly, because what if the friend showed up at Noon? or 12:16?
"What are you going to do?"
"I'm going to roll an 8."
User avatar
Mike
Boy of Summer
Posts: 10015
Joined: Mon Apr 11, 2016 2:56 pm
Location: Nebraska, USA
Contact:

Re: [Friday Riddler] Meet for lunch

Postby Mike » Fri Mar 31, 2017 12:42 pm

Correct. The shortcut I took is that I know that if I arrive at noon, chances of success are .25. I know that if I show up at 12:15, chances are .5. Chances remain a constant .5 from 12:15 to 12:45. Chances then decrease after that to .25 again at 1pm.
All I know is my food tastes better when I take my food-tastes-better pill.
User avatar
poorpete
Trailer Trash
Posts: 3487
Joined: Mon Apr 18, 2016 1:26 pm
Contact:

Re: [Friday Riddler] Meet for lunch

Postby poorpete » Fri Mar 31, 2017 12:48 pm

Yeah it's at 50% chance or 30/60 chance from 12:14 to 12:45.

As in at 12:14 you'll catch your friend if they arrived between 12:00 and 12:29.

So for for half of the time there's half a chance. Then it decreases before and after that interval until you are arrive at 12:00 or 12:59, which gives you only a 25% or 15/60 chance.

Update: what Mike said.

I always have issues with putting the probabilities together. Because it's not addition nor mulitiplication right? I/2 time to do this or 1/2 time to do that is still 1/2 time. Not 1 nor 1/4. Do I average?
User avatar
poorpete
Trailer Trash
Posts: 3487
Joined: Mon Apr 18, 2016 1:26 pm
Contact:

Re: [Friday Riddler] Meet for lunch

Postby poorpete » Fri Mar 31, 2017 1:04 pm

30 minutes have 30/60

2 minutes have 29/60
2 minutes have 28/60
...
2 minutes have 15/60

Something like:
((15! / (60 x 15)) + 1/4) + 1/2) x 1/2 ?

Been a while.
Last edited by poorpete on Fri Mar 31, 2017 1:07 pm, edited 1 time in total.
User avatar
Mike
Boy of Summer
Posts: 10015
Joined: Mon Apr 11, 2016 2:56 pm
Location: Nebraska, USA
Contact:

Re: [Friday Riddler] Meet for lunch

Postby Mike » Fri Mar 31, 2017 1:04 pm

Technically, it's the average of all those probabilities. But since there are an infinite number of points between noon and 1pm, taking the average of an infinite number of points is a pain in the ass. That's why I plot it 2-dimensionally and measure it as an area of space instead of trying to add up a bunch of increasingly small increments.

Spoiler warning: Here's my original graph...




























































All I know is my food tastes better when I take my food-tastes-better pill.
User avatar
poorpete
Trailer Trash
Posts: 3487
Joined: Mon Apr 18, 2016 1:26 pm
Contact:

Re: [Friday Riddler] Meet for lunch

Postby poorpete » Fri Mar 31, 2017 1:17 pm

So average of 8/16 and 4/16 is 6/16 and average of 6/16 and 8/16 is 7/16?
User avatar
Mike
Boy of Summer
Posts: 10015
Joined: Mon Apr 11, 2016 2:56 pm
Location: Nebraska, USA
Contact:

Re: [Friday Riddler] Meet for lunch

Postby Mike » Fri Mar 31, 2017 1:54 pm

All I know is my food tastes better when I take my food-tastes-better pill.
User avatar
Phoebe
Canned Helsing
Posts: 7208
Joined: Tue Nov 15, 2016 9:42 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: [Friday Riddler] Meet for lunch

Postby Phoebe » Sat Apr 01, 2017 2:25 pm

Agreed on the chess answers except I think you can get thirty two knights on there.
User avatar
Mike
Boy of Summer
Posts: 10015
Joined: Mon Apr 11, 2016 2:56 pm
Location: Nebraska, USA
Contact:

Re: [Friday Riddler] Meet for lunch

Postby Mike » Sat Apr 01, 2017 2:32 pm

I have two ways of arranging knights that both come up to 24. I'm stumped on this one.
All I know is my food tastes better when I take my food-tastes-better pill.
User avatar
Phoebe
Canned Helsing
Posts: 7208
Joined: Tue Nov 15, 2016 9:42 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: [Friday Riddler] Meet for lunch

Postby Phoebe » Sat Apr 01, 2017 2:35 pm

Knights can only threaten a square of the opposite color from the one they're sitting on.
User avatar
Mike
Boy of Summer
Posts: 10015
Joined: Mon Apr 11, 2016 2:56 pm
Location: Nebraska, USA
Contact:

Re: [Friday Riddler] Meet for lunch

Postby Mike » Sat Apr 01, 2017 4:39 pm

All I know is my food tastes better when I take my food-tastes-better pill.
User avatar
Eliahad
Mr. 3025
Posts: 3033
Joined: Mon Apr 11, 2016 4:24 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: [Friday Riddler] Meet for lunch

Postby Eliahad » Sat Apr 01, 2017 7:26 pm

"What are you going to do?"
"I'm going to roll an 8."

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Return to “Nerd Babble”

Who is online

Users browsing this forum: No registered users and 71 guests