# Puzzle | Neighbors in a round table

There are 6 persons seating on a round table in which two individual have the same names. What is the probability that the two same-named individuals will be neighbors?

**Answer:** Total no of ways in which 6 persons can sit on a round table is **(6-1)! = 5! = 120**.

If we consider two same-named individuals as one person there are 5 persons who can sit in **(5-1)!** ways and these individuals can be seated together in **2!** ways.

So, required probability =(2*(5-1)!)/(6-1)!= **2/5**.

So, the answer is 2/5 = **0.4**.

## Recommended Posts:

- Puzzle | (Round table coin game)
- Seating arrangement of n boys and girls alternatively around a round table
- Puzzle | 3 cuts to cut round cake into 8 equal pieces
- LCM of factorial and its neighbors
- Fill array with 1's using minimum iterations of filling neighbors
- Puzzle 51| Cheryl’s Birthday Puzzle and Solution
- Round the given number to nearest multiple of 10
- Puzzle 81 | 100 people in a circle with gun puzzle
- Puzzle 85 | Chain Link Puzzle
- Puzzle 34 | (Prisoner and Policeman Puzzle)
- Puzzle 15 | (Camel and Banana Puzzle)
- Puzzle | 3 Priests and 3 devils Puzzle
- Compute the parity of a number using XOR and table look-up
- Program for Binomial Coefficients table
- Program to print multiplication table of a number

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.