Page 1 of 1

## 3 Replies - 911 Views - Last Post: 27 June 2017 - 10:42 PM

### #1 Damage

• Lord of Schwing

Reputation: 300
• Posts: 1,989
• Joined: 05-June 08

Posted 08 March 2017 - 11:56 AM

Disclaimer: a colleague emailed this to me, i suck at math and have no clue what the answer is

Great Granddad is very proud of his telegram from the Queen congratulating him on his hundredth birthday and he has friends who are even older than he is. Great Granddad was born in the year A (where A is the product of 3 prime numbers), he was 20 years old in the year B (where B is the product of a prime number and a square number), he was 80 years old in the year C (where C is the product of two prime numbers) and he celebrated his 100th birthday in the year D (where D is even and the product of 4 prime numbers). When was he born?

### #2 Damage

• Lord of Schwing

Reputation: 300
• Posts: 1,989
• Joined: 05-June 08

Posted 08 March 2017 - 01:34 PM

for anyone interested here is a potential answer

### #3 ArtificialSoldier

• D.I.C Lover

Reputation: 2319
• Posts: 7,078
• Joined: 15-January 14

Posted 08 March 2017 - 03:53 PM

That shouldn't be that hard to figure out. You can look at the telegram and check the date of his 100th birthday, or just ask the old bastard when he was born. Boom, next.

### #4 jon.kiparsky

• Beginner

Reputation: 11547
• Posts: 19,655
• Joined: 19-March 11

Posted 27 June 2017 - 10:42 PM

So the answer isn't very interesting, but since you said you had trouble with this sort of problem, here's how my thinking went:

First of all, we're talking about a roughly contemporaneous date for D - this business of the telegram says, basically, we're in the long 20th century. (call it somewhere between WWI and today)
So you want four prime numbers, one of them being 2, which multiply together to give a date in this range. That was pretty simple. 10^3 * 2 puts us in the right ballpark, so I had a pretty small range to examine.
That gave me a likely date for D. Since D is even, B = D - 80 is even, so I knew that B was twice a square number. This made it very easy to check that sqrt((D - 80) / 2) was a square, which confirmed it for me. For giggles, I checked that C = (D - 20) was twice a prime number, which it was.

Looking at your link, I see that Julia's reasoning was similar to mine - the main difference is where we saw the crack in the problem. That's a useful observation if you find problems like this to be frustrating. Martin Gardner has a book called "Aha!" which is all about this sort of insight, might be useful of you're interested in getting better at these puzzles.

Page 1 of 1

 .related ul { list-style-type: circle; font-size: 12px; font-weight: bold; } .related li { margin-bottom: 5px; background-position: left 7px !important; margin-left: -35px; } .related h2 { font-size: 18px; font-weight: bold; } .related a { color: blue; }