Question

We are given 8 integer numbers. Count the number of non-empty sets which contain at most...

We are given 8 integer numbers. Count the number of non-empty sets which contain at
most 6 of these numbers (and no other numbers).

0 0
Add a comment Improve this question Transcribed image text
Answer #1

number of non-empty sets which contain at most 6 of these numbers

=P(contain 1 number)+P(contain 2 number)+P(contain 3 number)+P(contain 4 number)+P(contain 5 number)+P(contain 6 number)=(8C1)+(8C2)+(8C3)+(8C4)+(8C5)+(8C6) =8+28+56+70+56+28 =246

Add a comment
Know the answer?
Add Answer to:
We are given 8 integer numbers. Count the number of non-empty sets which contain at most...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • So, unary languages are just sets on integer numbers 10 3 numi - num2< ....j: the...

    So, unary languages are just sets on integer numbers 10 3 numi - num2< ....j: the empty word c corresponds to 0, the word | to 1, the word || to 2 etc... In other words, an unary language L is an infinite boolean seguence (b(0), b(1),.., b(i), ), where b(i) = 1 iff i E L. An unary language is regular iff there exist numbers i,T such that bj) b(j +T) for all j 2 i. Is it true...

  • Write a method that given a non-empty ArrayList of Integers parameterand also an Integer parameter, the...

    Write a method that given a non-empty ArrayList of Integers parameterand also an Integer parameter, the method returns a new ArrayList containing the elements from the original ArrayList that come after the first occurrence of Integer parameter in the original ArrayList. If the original ArrayList does not contain an occurrence of the Integer parameter return an empty ArrayList . The original ArrayList must be unaffected by the method execution. Following are some examples of the invocation of the method using...

  • 1. Let A, B be two non-empty sets and f: A + B a function. We...

    1. Let A, B be two non-empty sets and f: A + B a function. We say that f satisfies the o-property if VC+0.Vg, h: C + A, fog=foh=g=h. Prove that f is injective if and only if f satisfies the o-property.

  • 9. When we have two sorted lists of numbers in non-descending order, and we need to...

    9. When we have two sorted lists of numbers in non-descending order, and we need to merge them into one sorted list, we can simply compare the first two elements of the lists, extract the smaller one and attach it to the end of the new list, and repeat until one of the two original lists become empty, then we attach the remaining numbers to the end of the new list and it's done. This takes linear time. Now, try...

  • When we have two sorted lists of numbers in non-descending order, and we need to merge...

    When we have two sorted lists of numbers in non-descending order, and we need to merge them into one sorted list, we can simply compare the first two elements of the lists, extract the smaller one and attach it to the end of the new list, and repeat until one of the two original lists become empty, then we attach the remaining numbers to the end of the new list and it's done. This takes linear time. Now, try to...

  • Design an algorithm which finds the difference A - B of two sets of integer numbers,...

    Design an algorithm which finds the difference A - B of two sets of integer numbers, A-{a!, a2, , an] , B = {bi, b2, ,bn} (the difference A-B is a collection of such elements of A which are not elements of B). Consider two cases, when the sets A and B are ordered and when they are not ordered.

  • Write an MPI program, countprimes which will count the number of prime numbers in the numbers...

    Write an MPI program, countprimes which will count the number of prime numbers in the numbers from 1 to n inclusive where n is a long integer. The value for n which can be set in the program using a constant should be 50,000. Each process will test its share of the cases. Each process should print out any primes that it finds in a readable manner indicating which process found it and the actual prime. The master process should...

  • Complete count_bits function. You are given an 32-bits integer stored in $t0. Count the number of...

    Complete count_bits function. You are given an 32-bits integer stored in $t0. Count the number of 1's in the given number. For example: 1111 0000 should return 4 j main ############################################################### # Data Section .data # new_line: .asciiz "\n" space: .asciiz " " double_range_lbl: .asciiz "\nDouble range (Decimal Values) \nExpected output:\n1200 -690 104\nObtained output:\n" swap_bits_lbl: .asciiz "\nSwap bits (Hexadecimal Values)\nExpected output:\n75757575 FD5775DF 064B9A83\nObtained output:\n" count_bits_lbl: .asciiz "\nCount bits \nExpected output:\n20 24 13\nObtained output:\n" swap_bits_test_data: .word 0xBABABABA, 0xFEABBAEF, 0x09876543 swap_bits_expected_data: .word...

  • You are given a set of integer numbers A = {a1, a2, ..., an}, where 1...

    You are given a set of integer numbers A = {a1, a2, ..., an}, where 1 ≤ ai ≤ m for all 1 ≤ i ≤ n and for a given positive integer m. Give an algorithm which determines whether you can represent a given positive integer k ≤ nm as a sum of some numbers from A, if each number from A can be used at most once. Your algorithm must have O(nk) time complexity.

  • Write a C program which computes the count of the prime and perfect numbers within a...

    Write a C program which computes the count of the prime and perfect numbers within a given limit Land U, representing the lower and upper limit respectively. Prime numbers are numbers that have only 2 factors: 1 and themselves (1 is not prime). An integer number is said to be perfect number if its factors, including 1 (but not the number itself), sum to the number. Sample Inputi: 1 100 Sample Outputs: Prime: 25 Perfect: 2 Sample Input2: 101 10000...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
Active Questions
ADVERTISEMENT