mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2007-02-21, 00:22   #1
XYYXF
 
XYYXF's Avatar
 
Jan 2005
Minsk, Belarus

1100100002 Posts
Default An old puzzle about two numbers

Two integers are chosen. It is known than both of them are greater than 1 and less than 100. It's also known that Mersenne was informed of their sum, while Fermat was informed of their product. So, the following conversation between them took place:

Fermat: Of course you know that I'm not able to find the numbers chosen...
Mersenne: You are right. And I can't find them too...
Fermat: But I've just found them!

What numbers were chosen, and how did Mersenne and Fermat draw their conclusions?

Of course both of them were honest

Last fiddled with by XYYXF on 2007-02-21 at 00:23
XYYXF is offline   Reply With Quote
Old 2007-02-21, 09:51   #2
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

194A16 Posts
Default

I assume that only one pair of numbers have a product which
can be formed in more than one way and the sum of the two numbers
is the same for more than one case. Does this make sense?
I'll try it in Basic.

David
davieddy is offline   Reply With Quote
Old 2007-02-21, 10:31   #3
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

Lets say the two numbers are a, b, with a<b.
The first statement means the two numbers a,b are not both prime, their product is not the cube of a prime, and for at least two k|a*b with 1<k<100, a*b/k is < 100. I.e., a*b wasn't 2*31*59, as that would only allow a=59, b=62.
The second statement means that the sum Mersenne was given can be written in more than one way as a+b with such a,b. Also, the sum isn't 198 or 197.

It may be possible to solve it from there with an exhaustive search.

Alex

Last fiddled with by akruppa on 2007-02-21 at 22:33 Reason: 62, not 61
akruppa is offline   Reply With Quote
Old 2007-02-21, 13:04   #4
Patrick123
 
Patrick123's Avatar
 
Jan 2006
JHB, South Africa

157 Posts
Default


The first numbers that spring to mind are 4 and 3. Giving the product 12 and the sum 7.

12 can be expressed as 4*3 or 6*2 so Fermat could not define them.
7 can be expressed as 4+3 or 5+2 likewise for Mersenne.
The statement did say the numbers where greater than 1 and other numbers would not give such a simple addition.



I have not thought this completely through but it seems to give a quick solution.

Regards
Patrick

Last fiddled with by Patrick123 on 2007-02-21 at 13:07 Reason: clarified that the numbers were > 1
Patrick123 is offline   Reply With Quote
Old 2007-02-21, 13:17   #5
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

1001101000112 Posts
Default

But Fermat said he *knew* that Mersenne knows that Fermat can't figure out the numbers. If Fermat had been given the product 12, he would have known that Mersenne must have been given the sum 7 or 8. With the sum 7, Mersenne could not have known for certain that Fermat was stuck, as it might have admitted a=2, b=5, which Fermat could have solved...

Nice little mind twister.

Alex

Last fiddled with by akruppa on 2007-02-21 at 13:18
akruppa is offline   Reply With Quote
Old 2007-02-21, 13:25   #6
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

So I guess the sum a+b was an odd number, as any even number can (conjecturally) be written as the sum of two primes, and a+b-2 must not be prime.

Alex
akruppa is offline   Reply With Quote
Old 2007-02-21, 13:30   #7
Patrick123
 
Patrick123's Avatar
 
Jan 2006
JHB, South Africa

157 Posts
Default

Ah! I see what you mean. I thought it was too easy.

Regards
Patrick
Patrick123 is offline   Reply With Quote
Old 2007-02-21, 14:49   #8
XYYXF
 
XYYXF's Avatar
 
Jan 2005
Minsk, Belarus

24×52 Posts
Default

akruppa is on the right way :)
XYYXF is offline   Reply With Quote
Old 2007-02-21, 22:09   #9
Patrick123
 
Patrick123's Avatar
 
Jan 2006
JHB, South Africa

157 Posts
Default


The two numbers are 9 and 21. Product 189 - Sum 30.


Taking Alex's lead, I used Excel and filtered out:
All Evens.
All primes.
All products of two primes.
All numbers where n-2 was prime.

I then factorized the remaining numbers and created a permutation of all the ways you can sum the numbers. There where 2 products that had the same sum with one being a cube. This is all Fermat needed to know to solve this.

Regards
Patrick
Patrick123 is offline   Reply With Quote
Old 2007-02-22, 23:31   #10
XYYXF
 
XYYXF's Avatar
 
Jan 2005
Minsk, Belarus

24·52 Posts
Default

The answer (9, 21) is wrong :)
XYYXF is offline   Reply With Quote
Old 2007-02-23, 00:11   #11
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

22×7×227 Posts
Default

I saw this puzzle on the net and the following line is included:

Both are unequal to 1 and the sum of them is less than 100.

This is different than XYYXF's statement. I don't know if this is supposed to be part of this puzzle or not.
rogue is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Carmichael numbers and Devaraj numbers devarajkandadai Number Theory Discussion Group 0 2017-07-09 05:07
a puzzle bcp19 Puzzles 18 2012-03-02 04:11
6 digit numbers and the mersenne numbers henryzz Math 2 2008-04-29 02:05
Another puzzle about Fibonacci numbers c00ler Puzzles 27 2006-04-17 20:27
LLT numbers, linkd with Mersenne and Fermat numbers T.Rex Math 4 2005-05-07 08:25

All times are UTC. The time now is 23:22.


Fri Aug 6 23:22:57 UTC 2021 up 14 days, 17:51, 1 user, load averages: 3.67, 3.95, 4.00

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.