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

Home > Numbers
Add down to One (Posted on 2003-05-21) Difficulty: 3 of 5
The numbers 0-9 are lined up in a row, like this:

0 1 2 3 4 5 6 7 8 9

You have to put in + and - signs in the blanks, so that in the end it will all equal 1.

Also, if possible, try to make expressions resulting in 0 and -1.

See The Solution Submitted by Jonathan Waltz    
Rating: 2.5000 (6 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution re: Solution | Comment 9 of 17 |
(In reply to Solution by Sanjay)

The solution is easier than that.

0+1+...+9 = 45. We want to add +s and -s to make 1. Grouping all the +ed numbers and the -ed numbers together, we get
(a1+b1+c1+...) - (a2+b2+...) = 1
and
a1+b1+c1+...+a2+b2+... = 45.

The obvious solution to this is 23 - 22 = 1, 23 + 22 = 45 And in fact this is the only solution.

So to solve the problem we just need to take any subset of (0,1,...,9) which adds up to 22, minus them, and we're done.

One such group is 1,2,3,4,5,7 Another is 1,2,3,8,9, and so on.

Cheers,
Dave.
  Posted by Dave Neary on 2003-05-22 03:28:29

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


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

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