Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for 6 numbers which when added their sum should not be a repeated no like one below for 3 Numbers

    Num 1   Num 2    Num 3         Sum 
      1       3        5            9 
      1       0        5            6
      0       3        5            8 
      0       0        5            5
      1       3        0            4
      1       0        0            1
      0       3        0            3
      0       0        0            0  

Adding 1,3,5 in any combination leaving other is not going to get the same sum like adding 1,2,3 which brings 6 for 0+1+2 and 0+0+3

I want this number for a programming logic which i am going to use in procedure

Just let me know whether its possible or not.

Thanks in Advance

share|cite|improve this question
Let me know whether this is possible or not – user1093513 Nov 6 '12 at 13:07
Take any two numbers $0<a<b$ as the first two. Take any $c>a+b$ as the third. – Dennis Gulko Nov 6 '12 at 13:15
up vote 3 down vote accepted

There are many ways to do it. If you take the $n$ numbers $1,2,2^2,\dots,2^{n-1}$, no sum will be repeated. This includes "sums" of just $1$ of the numbers, and even the "empty sum" of none of the numbers.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.