All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
A piece of pie (Posted on 2010-12-07) Difficulty: 4 of 5
Let N be defined by N=> 3*1*4*1*5*9*2, where each asterisk may be replaced by any basic arithmetic sign ( +, - ,* ,/) and => means that the result is obtained by calculating sequentially from left to right.
Examples: 3+1+4+1+5+9+2=>25; 3+1-4+1-5+9-2=>3; 3*1-4*1-5+9-2=>1 etc.

How many distinct positive integer results can be obtained?
What is the lowest positive integer that cannot be obtained?
What positive integer claims the highest quantity of distinct expressions?
Rem: No brackets allowed.

No Solution Yet Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
re(2): piece of cake (solutions?) Comment 5 of 5 |
(In reply to re: piece of cake (solutions?) by Charlie)

I did not have a counter in my program, since I wanted to see the actual calculations which qualified:  I allowed 9999v9999, but considered that perhaps that was not enough precision to exclude some that may have been "close" to being integer results.  From your list, I think you would agree that 2 and 35 answered the other specs. 

I compared your list with mine, and they matched except that I did not find the value 200 at all (your list shows you found one occurrence).  May I ask which expression yielded that result?

EDIT

The expression for 200 would be 3 + 1 * 4 + 1 + 5 * 9 + 2.  I used the editor to sort and weed, and must have deleted this one in error when I was pruning the list of 4096.

Edited on December 7, 2010, 8:12 pm
  Posted by ed bottemiller on 2010-12-07 19:48:47

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (8)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2017 by Animus Pactum Consulting. All rights reserved. Privacy Information