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 have a Six numbers which are like points that satisfy certain condition.

If the condition is satisfied that point will be given or else 0 will be assigned as points.

I am Storing the points in Six columns as below in table

PointA   PointB    PointC     PointD     PointE      PointF           Sum  
   X       Y         Z          M          N           L         (X+Y+Z+M+N+L)  
   X       0         Z          M          N           0         (X+Y+0+Z+M+0)  
   0       Y         Z          0          N           0         (0+Y+Z+0+N+0)  

In the above case X, Y, Z, M, N, L are unique numbers.

Their sum should be unique column wise

The Point A column can either have X points or Zero, Similarly Point D column can have M points or Zero at its column.Like that every column will have its respective point or zero.

The Sum of X+Y+Z+M+N+L should be unique

In total there are 720 combinations.

How to find numbers at X, Y, Z, M, N, L

share|cite|improve this question
If your six numbers are 1, 2, 4, 8, 16, and 32, all the sums will be distinct. But where do you get 720 combinations? I see only 64. – Gerry Myerson Nov 7 '12 at 5:08
What do you mean by "The Sum of X+Y+Z+M+N+L should be unique"? – joriki Nov 7 '12 at 5:09
No two sum in that sum column should have same value – user1093513 Nov 7 '12 at 5:12
Thank you Great – user1093513 Nov 7 '12 at 5:26
Can you post it as answer I want to accept – user1093513 Nov 7 '12 at 5:26

Comment elevated to answer, at request of OP:

If your six numbers are 1, 2, 4, 8, 16, and 32, all the sums will be distinct. There will be 64 (not 720) of them.

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.