Re: [Tutor] Creating lists with definite (n) items without repetitions

2015-09-21 Thread Francesco A. Loffredo via Tutor
On 15/09/2015 23.14, Francesco A. Loffredo wrote: On 14/09/2015 13:50, Oscar Benjamin wrote: ... Your algorithm loops through all triples and accepts any triple if it doesn't immediately conflict with any of the triples already accepted. If you were solving a sud

Re: [Tutor] Creating lists with definite (n) items without repetitions

2015-09-15 Thread Francesco A. Loffredo via Tutor
On 14/09/2015 13:50, Oscar Benjamin wrote: On 10 September 2015 at 08:45, Francesco Loffredo via Tutor wrote: I wrote a small routine (below) to check when and if my code and the formula do match. It easily shows that they only match for len(pool) == (2 ** N) - 1, with N greater or equal to 2.