# 25 seat bar riddle

There is a bar with 25 seats in a line. The people there are anti-social so when they walk in the bar, they always try to find a seat farthest away from others. If one person walks in and find there is no seat are adjacent to nobody, that person will walk away. The bar owner wants as many people as possible. The owner can tell the first customer where to sit. all the other customers will pick the farthest possible seat from others.

So where should the first customer sit?

**Answer** – 9 or 17

**Explanation-**

Consider a case. If the number of seats is n = (2^k)+1 for some k, then, the maximum possible seating of (n/2)+1 can be achieved by having the first person sit at position 1 or n or ceil(n/2).

This is true since when n=(2^k)+1, then, when someone sits in the first or middle or the last seat then all the other gaps are of length in powers of 2 (as suggested above by Vinay).

This implies that for this problem, with n=25, we need to split it into n1 and n2 such that: n1 = (2^k1)+1 and n2 = (2^k2)+1, for some k1, k2. Note that n1+n2 = n+1 = 26 (since they both share a common seat).

Thus, the only possible values are 9 or 17.

### Your Answer

## More puzzles to try-

### Did you break it?

What is so fragile that when you say its name, you break it?Read More »### Turn again

It turns around once, what is out will not get in. It turns around again, what is in will not ...Read More »### Melanesia and Polynesia

Fiji (in Melanesia) and American Samoa (in Polynesia) are two islands in the South Pacific Ocean. Fiji is about 970 ...Read More »### 10 Coins Puzzle

You are blindfolded and 10 coins are place in front of you on table. You are allowed to touch the ...Read More »### Flipping cards

You’re given a regular deck of 52 playing cards. In the pile you’re given, 13 cards face up and the ...Read More »### Which door will you find the spirit?

You are an expert on paranormal activity and have been hired to locate a spirit haunting an old resort hotel. ...Read More »### 5 gallons of water

You have a bucket full with 5 gallons of water. What can you ADD to it in order to make ...Read More »### Find Village

Mr. Buttons was all set to go to the village of Buttonland to meet his friend. So, he packed his ...Read More »### What has 88 keys?

What has 88 keys?Read More »### Weightless Elephant

What is bigger than an elephant yet weighs nothing. What is it?Read More »### Easy to in Hard to out

As easy as you can get into me, it is as hard to get out of me. Do you know ...Read More »### Calendar in the Freezer

Why did Navjot Singh Sidhu put the new January calendar in the freezerRead More »### Find The Baby Squirrel Hidden Among Leash

Do you see only foxes? It’s time for you to unlock the superpowers to find the baby squirrel hidden in ...Read More »### Cat and Rat Puzzle

If Three Cats Kill Three Rats In Three Minutes. How Long Will it take for one hundred cats to kill ...Read More »### What is seen in the picture which made husband KILL her beautiful wife?

What is seen by the husband in the picture that made him MURDER his wife?Read More »### Solve the Rebus meaning

Solve the rebus below.Read More »### Flat and Fat

I am flat when I am new. I am fat when I am in use. I release my gas when ...Read More »### Rescue! The Frog

A frog is at the bottom of a 30 meter well. Each day he summons enough energy for one 3 ...Read More »### Letter spelled bothway

What seven letter word is spelled the same way backwards and forewords?Read More »### Polar Bear riddle

You are on holidays and wake up in the morning, stand up, and look South. You look to the left ...Read More »