Post Reply 
HHC 2015 RPN programming Contest is now open
10-03-2015, 01:19 AM (This post was last modified: 10-03-2015 01:38 AM by Allen.)
Post: #79
RE: HHC 2015 RPN programming Contest is now open
Just to clarify, the numbers that {1,2,3,4,5,6} map to do not have to be prime numbers for Egan's solution to work, they only have to all be co-prime with each other (you get both if you look for only prime numbers).

To that end \(6x+1\) makes for an even shorter program. ( by checking 8645, 38285, and 108965). (maps to 7,13,19,5^2,31,37).

17bii | 32s | 32sii | 41c | 41cv | 41cx | 42s | 48g | 48g+ | 48gx | 50g | 30b

Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HHC 2015 RPN programming Contest is now open - Allen - 10-03-2015 01:19 AM



User(s) browsing this thread: 1 Guest(s)