There is a sequence of numbers that, when added together in any order, the result will not be repeated. But, I just can't remember what it is. Does anybody know
It's been a long time since I've thought about brain teasers and proofs.
Maybe Fibonacci sequences (or those based on Phi) will help. As a + b = c, then a+b <> c+N so long as N is not 0. I didn't quite follow the true intent, but I suspect you want to be able to break a number into unique sequence values.
No, that's not what I'm looking for. There exists a specific sequence of numbers in which any combinations of numbers can be added together and no other combination would repeat the sum. I've tried prime numbers and binary numbers but so far no luck. I've used the sequence in the past but cannot remember it now that I need it again (pre code snippets days).
sum of numbers that don't repeat
Luiz Bicalho
if you are calculating in the Body of Real Numbers. The commutative law is valid.
so there will be no difference between a+b+c c+b+a or anything similar.
http://en.wikipedia.org/wiki/Real_number
http://en.wikipedia.org/wiki/Commutative_law
Joewee
Maybe Fibonacci sequences (or those based on Phi) will help. As a + b = c, then a+b <> c+N so long as N is not 0. I didn't quite follow the true intent, but I suspect you want to be able to break a number into unique sequence values.
So here is Fibonacci without 0.
1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987 ...
hope that helps and that it helps with VB!
Best,
Paul
Beat_______
DmitriyGorbachev
here some mathematics:
if a <> b <> c <> a
then:
a+b <> a+c <> b+c <> a+b+c
but if you have something like b = c
then would:
a + b = a + c.
I hope I got your point :) Or did you want to program something