in reply to Re^4: Speeding permutation counting
in thread Speeding permutation counting
If that is correct, then I think my math approach will work.string 1: 0 string 2: 1 string 3: 0 string 4: 1 string 5: 0 1 & 2 -> 01 10 1 & 3 -> 00 00 1 & 4 -> 01 10 1 & 5 -> 00 00 2 & 3 -> 10 01 2 & 4 -> 11 11 2 & 5 -> 10 01 3 & 4 -> 01 10 3 & 5 -> 00 00 4 & 5 -> 10 01 Totals 01 = 6 10 = 6 11 = 2 00 = 6
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Speeding permutation counting
by BrowserUk (Patriarch) on Jul 20, 2007 at 00:19 UTC | |
by Limbic~Region (Chancellor) on Jul 20, 2007 at 00:58 UTC |