SOLUTION: I have five fields (first name, last name, number, location and age) which can be used to search for a person in a database. Any number of these parameters can be used in any combi

Algebra ->  Permutations -> SOLUTION: I have five fields (first name, last name, number, location and age) which can be used to search for a person in a database. Any number of these parameters can be used in any combi      Log On


   



Question 587984: I have five fields (first name, last name, number, location and age) which can be used to search for a person in a database. Any number of these parameters can be used in any combination, i.e a person can be searched for by only first name or by a combination of first name, location and age and so on (although 0 parameters are not allowed). How many different combinations are there a user could search for?
Am I correct thinking that there is 5 ways to search, either 1 or 2 or 3 or 4 or 5 parameters are specified. If only 1 parameter is given, there is 5 ways this parameter could be specified. If 2 parameters are given there are 10 ways of doing this, if three parameters are given they can be chosen in 10 different ways, if 4 parameters they can be chosen in 5 different ways, if 5 parameters only one possibility exist. This leads to a total number of combinations of (5*10*10*5*1)=5^6?

Answer by scott8148(6628) About Me  (Show Source):
You can put this solution on YOUR website!
good, right up until the end

the search will use ___ 1 OR 2 OR 3 OR 4 OR 5 parameters

the combinations you found for the different numbers of parameters should be ADDED
to find the different number of search types