-1

this is my problem:

I need 12 distinct numbers, could be something like (3,9,15,17,27,etc.) that when added up either in combinations of 2 or 3, the sums do not repeat.

For example, if the numbers are 1-12, this is an issue because 2+3 and 1+4 both = 5

What 12 numbers would guarantee non-repeating sums?

Thanks!

Tbarca
  • 3
  • 1

1 Answers1

0

Ok, just to consolidate.

1, 2, 4, 8 ,16,..... i.e. $2^0, 2^1, 2^2, 2^3, ... 2^11$ is the simplest sequence that will serve your purpose.

You can see that easily by writing all possible combos in binary form, viz. 1, 10, 11, 100, 101, ...

and observe that each is unique.

You can have other sequences. 3^0, 3^1, 3^2, 3^3, .... will obviously do, but interestingly, besides adding combos, you can also subtract appropriately to get 1, 2, 3,.....$3^{n-1}$ , e.g.

1, 3-1, 3 , 3+1, 9-3-1, 9-3, 9-3+1, 9-1, 9, ......

This fact is used in the puzzle of a traveller who has a 40-link gold chain, and must pay the inn-keeper 1 link a day for 40 days.