FRDB Archives

Freethought & Rationalism Archive

The archives are read only.


Go Back   FRDB Archives > Archives > IIDB ARCHIVE: 200X-2003, PD 2007 > IIDB Philosophical Forums (PRIOR TO JUN-2003)
Welcome, Peter Kirby.
You last visited: Today at 05:55 AM

 
 
Thread Tools Search this Thread
Old 05-09-2003, 04:41 PM   #51
Moderator - Science Discussions
 
Join Date: Feb 2001
Location: Providence, RI, USA
Posts: 9,908
Default

Quote:
Originally posted by Lobstrosity
Well, if you allow all numbers from 3 to 50 inclusive then there's a different solution. I have never worked through this problem allowing the number 2, so I cannot comment at this time on how that would change things.
You mean 3 to 49 inclusive, right? (it probably wouldn't make a difference if you include 50, but you originally stated it as between 2 and 50) Like Silent Acorns, I'd like to hear what your solution is, because I don't think there is one.
Jesse is offline  
Old 05-09-2003, 04:45 PM   #52
Veteran Member
 
Join Date: Oct 2002
Location: SW 31 52 24W4
Posts: 1,508
Default

I found a slight problem in my code, but it only applies to cases where the minimum number can be 1. If the numbers can be 1 to 50 inclusive then the unique solution is:
1 and 10
Silent Acorns is offline  
Old 05-09-2003, 04:49 PM   #53
Veteran Member
 
Join Date: Oct 2002
Location: SW 31 52 24W4
Posts: 1,508
Default

Quote:
Originally posted by Jesse
with that many sums it seems like the only way to solve the problem would be to write a computer program to do it for you

That's what I was forced to do in order to look for cases that allow for unique solutions.
Silent Acorns is offline  
Old 05-09-2003, 05:11 PM   #54
Veteran Member
 
Join Date: Mar 2002
Location: anywhere
Posts: 1,976
Default

Nevermind. These problems hurt me.
Principia is offline  
Old 05-09-2003, 05:36 PM   #55
Senior Member
 
Join Date: Feb 2003
Location: San Diego, California
Posts: 719
Default

You know, I think I fucked up with regards to putting the cap on the numbers instead of on the sum. I really apologize for that. If you say that the sum must be less than 100 rather than each number less than 50, you can get a unique answer. If I'm correct, this increases the number of allowed sums to:

13, 19, 25, 29, 31, 37, 43, 49, 53, 55, 59, 61, 67, 73, 79, 81, 85, 89, 91, 95, 97, 99

Having a larger set of allowed sums then ends up working to your advantage. Damn, I'm sorry for messing that part up--I was trying to remember this from four years ago.
Lobstrosity is offline  
Old 05-09-2003, 05:59 PM   #56
Regular Member
 
Join Date: Aug 2001
Location: Indeterminate
Posts: 447
Default

Ahh, yes, if the limitation is numbers > 2 and sum < 100, then the answer is: 13 + 4

Running it through my program, I get a similar but larger table as posted above. Possible sums: 11 17 23 27 29 35 37 41 47 53.

A lot of duplicates this time -- the sum 17 has 7 possible products (30 42 52 60 66 70 72), all but 52 are duplicated by products availible from the good set of sums. And the two numbers that have a sum of 17 and a product of 52 are 4 and 13.
Lex Talionis is offline  
Old 05-09-2003, 06:06 PM   #57
Senior Member
 
Join Date: Feb 2003
Location: San Diego, California
Posts: 719
Default

It can't be 4 and 13. It can't be 4 with any prime.

4 x 13 = 2 x 2 x 13 = 52

the only factors of this are (2, 26) and (4, 13). Since 2 is not allowed, should Polly see a product of 52, she would instantly know the numbers were 4 and 13.
Lobstrosity is offline  
Old 05-09-2003, 06:10 PM   #58
Regular Member
 
Join Date: Aug 2001
Location: Indeterminate
Posts: 447
Default

Oops. got a bug somewhere. hrm.
Lex Talionis is offline  
Old 05-09-2003, 06:20 PM   #59
Regular Member
 
Join Date: Aug 2001
Location: Indeterminate
Posts: 447
Default

Ok, the last one I was solving for >= 2, duplicate numbers not allowed. That's what I get for writing code after 9 pm.

For > 2, duplicate numbers allowed, I get 13 and 16

Lex Talionis is offline  
Old 05-09-2003, 06:37 PM   #60
Senior Member
 
Join Date: Feb 2003
Location: San Diego, California
Posts: 719
Default

And we have a winner!
Lobstrosity is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump


All times are GMT -8. The time now is 07:14 PM.

Top

This custom BB emulates vBulletin® Version 3.8.2
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.