is among - problem
Thomas J McGrath III
3mcgrath at adelphia.net
Fri Nov 21 19:59:00 CST 2003
Class project:
A group of three items from the list 1,2,3,4,5,6,7 with no duplicates
in any order = 123 but no 213 or 312 or 231 or 321 and no doubles or
triples = 111 or 112 or 323 or 322 etc. (WOW my daughter is only 13 and
this in my opinion is complex until I figured it out)
What follows is my final answer to this.
I put the fourth number in a line to show how many of the second item
there were and that there is a pattern to it
5,4,3,2,1 and 4,3,2,1 and 3,2,1 and 2,1 and 1 which I thought was
pretty cool but I don't know why.
The other pattern is in the third item place: 3,4,5,6,7 and 4,5,6,7 and
5,6,7 and 6,7 and 7 and 4,5,6,7 and 5,6,7 etc.
123
124
125
126
127 5
134
135
136
137 4
145
146
147 3
156
157 2
167 1
234
235
236
237 4
245
246
247 3
256
257 2
267 1
345
346
347 3
356
357 2
367 1
456
457 2
467 1
567 1
More information about the use-livecode
mailing list