- A father and his son is from a country where the date format used is DD/MM/YYYY.
- In 2022, they visited a country for a day where the date format used is MM/DD/YYYY.
Predict the birth dates of the son and his father along with the date of their visit.
Birth date of son (DD/MM/YYYY)
- When his birth date is written according to the date format of his country, it is not one of the possible dates according to the country he visited.
- DD and MM are prime numbers.
- YYYY is a combination of all the four digits used in DD and MM.
- His age as on the day of his visit was not a prime number.
Birth date of father (DD/MM/YYYY)
- When his birth date is written according to the date format of his country, it is not one of the possible dates according to the country he visited.
- DD is a prime number while MM is equal to the age of his son as on the day of their visit.
- YYYY is a combination of all the four digits used in DD and MM.
- His age as on the day of his visit was a prime number.
Date of visit (MM/DD/2022)
- The year 2022 is a combination of all the four digits used in MM and DD.