Thread: January 2019
View Single Post
Old 2019-01-02, 00:46   #24
Dr Sardonicus
Dr Sardonicus's Avatar
Feb 2017

496410 Posts

Originally Posted by SmartMersenne View Post
Yup: A=[3, 99, 3, 99] B=[1, 22, 1, 22]
AFAIK there is no such thing as repetition of elements in a set. A set is not the same thing as an ordered tuple.

The two sets need not be disjoint, however. Clearly, adding a number to all the elements of one set, and subtracting it from all the elements of the other, creates two sets giving the same sums. So instead of [1,22] and [3,99] we could take [2,23] and [2,98].

Last fiddled with by Dr Sardonicus on 2019-01-02 at 00:47 Reason: gixfin posty
Dr Sardonicus is online now   Reply With Quote