List Archives > 
Maple User Group List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[MUG] Set And List Problem
| [MUG] Set And List Problem |
|
Author: UKC Account
Posted: Mon, 28 Oct 2002 17:20:12 +0100
|
>> From: "UKC Account" "crp3"
I have this question on an assignment to do with sets and lists. It
reads:
'Let A be the set {1,2,3,...,25}. Create the set, B, of all subsets of A
of size 2 containging at least one odd integer (So {1,2} and {1,3} are
elements of B but {2,4} is not an element of B). Determine the number of
elements in B.'
I've set up the set A, but can't get Maple to list all of the subsets
with at least one odd integer. I know there are 244 different
combinations, but need to get Maple to display this using the 'nops'
function. Can anyone give me a hand?
Claire Pollard
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.401 / Virus Database: 226 - Release Date: 10/9/02
|
[View Complete Thread]
Previous by date: [MUG] Maple 8 under Debian GNU/Linux, Curtis Vinson
Next by date: [MUG] solving inequality, M A Suzen
Previous thread: [MUG] How to plot with a constraint on the domain, Anders Poulsen
Next thread: [MUG] solving inequality, M A Suzen
|