[QUESTION] Special Numerals
#1

Hy. I am looking for a type of numerals that given any addition between themselves, you never get the same result twice.
Trying to use them as unique identifiers for a 'shopping cart' project.
And i want to be able to tell what the user bought by the sum of all the ids of the products he purchased.

EX:
5 - Shampoo
7 - Soap
11 - Toothpaste

5+7=12 => Shampoo & Soap
5+11=16 => Shampoo & Toothpaste
7+11=18 => Soap & Toothpaste

Anyone got the full list of all those numbers, or atleast a link?
Reply


Messages In This Thread
[QUESTION] Special Numerals - by viKKmaN - 22.11.2010, 19:43
Re: [QUESTION] Special Numerals - by Finn - 22.11.2010, 19:57
Re: [QUESTION] Special Numerals - by viKKmaN - 22.11.2010, 20:00
Re: [QUESTION] Special Numerals - by Finn - 22.11.2010, 20:02
Re: [QUESTION] Special Numerals - by viKKmaN - 22.11.2010, 20:07

Forum Jump:


Users browsing this thread: 4 Guest(s)