Village of Palindromes – Rupapur

Computational Puzzles Fun puzzle

Rupapur is located in Uttar Pradesh, India. Its pincode is 241124. By the way, Rupapur is a palindrome. A palindrome is a word, number, phrase, or other sequence of characters which reads the same backward as forward, such as radar, level. If you divide its pincode in the groups of two numbers [24 11 24] then that number format is even a palindrome. That’s why we give the palindrome village crown to Rupapur.

(Image credit : Google Map)

(*Note : Some puzzle part was republished in January 2024)

One day, in Rupapur, a census taker approaches a house and asks the woman Mrs. Arora who answers the door “How many children do you have, and what are their ages?”

Mrs. Arora replies “I have three children; the product and the sum of their ages are palindrome numbers.”

The census taker says “I need more information.”

Mrs. Arora replies “Yesterday was my second child’s birthday and my oldest child’s age is related to lily, banana and potato.”

Census taker then says “Thank you, I now have everything I need.”

What are the ages of children? How?

[This puzzle was originally published in my book “Out of Box Computational Thinking Puzzles”. Find more interesting puzzles (including from that book) on this link. Also, don’t forget to check my puzzle books “Computational Puzzles To Flex Your Brain: 50 original puzzles to sharpen computing mind and mathematical skills and  “Brain Teasers with Coding For Data Scientist 2: 9 New Computational Puzzles” and “Puzzles with Coding: Puzzles for Everyone” at AmazonFor purchasing my books or related queries, feel free to contact me. Even in coding puzzle books, you will find interesting puzzles those are suitable for coders as well as non-coders. Coding solutions are also provided with Python code. So, grab a copy of those books and jump into the world of fascinating and exciting puzzles.]

.

.

.

.

.

.

B

Y

T

E

M

A

N

.

.

.

.

.

.

Solution

The oldest child age is related to lily, banana and potato. Now if you remove either the first or the last letter from the given words’ group then they will become palindromes.

LILY > remove last Y > LIL (palindrome)

BANANA > remove first B > ANANA (palindrome)

POTATO > remove first P > OTATO (palindrome)

So, there is only one possible number for the oldest child’s age and that’s number 9(Nine).

NINE > remove last E > NIN (palindrome)

Now, there are two possibilities for children’s age [ 0, 0, 9 ] or [ 1, 1, 9 ]

Any single number between 0 and 9 is also palindrome number. But as yesterday was the second child’s birthday so only possible solution will be [ 1, 1, 9 ]

Now you may think if two children of Mrs.Arora (again, surname is palindrome) are twins then why didn’t she say my twins’ birthday was yesterday? The logic behind this is that one child was born just before 12 PM and the other was born just after 12 PM (so next day). So even though Mrs.Arora has twins, Arora family celebrates their twins’ birthday on different dates. So when a census taker visited that day was the youngest child’s birthday.

In the end, the ages of the children are 1, 1 & 9.