Forum — Daily Challenge
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    The notation n!!

    Module 3 Day 14 Challenge Part 4
    2
    3
    43
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 西瓜西
      西瓜 M0★ M1★ M2★ M3★ M4★ M5★
      last edited by

      I am a little confused about the n!! notation.

      If n is even, do we do (n-1)!!? In the video there are n=8 people, and then we subtract one to get 1 to get 7 (n-1), which we then do 7!! to get 105.

      How about if n is odd? It may seem weird to pair up odd numbers of people, but what if one group could have 3 people or the person that is not picked is simply left out?
      For example, if n is 9, would we do n-1 = 8 which leads to 8!! = 8 * 6 * 4 * 2?

      Thank you!

      Hello, this is 西瓜.

      v4913V 1 Reply Last reply Reply Quote 3
      • v4913V
        v4913 MOD M0 M1 M2 M3 M4 M5 @西瓜
        last edited by v4913

        @西瓜 To answer your questions:
        You are right that 8!! = 8 * 6 * 4 * 2. However, you can't really split 9 people into pairs of two, so you can't really use 8!! for 9 people. You can still use the idea of double factorial though!

        If you wanted to find the number of ways to split the 9 people into 4 pairs and 1 person by themself, you could first choose the person who is by themself (9 ways to do this) and then multiply by the number of ways to split the 8 remaining people into four pairs (7!!) so the answer would be 9 * 7!!

        If you wanted to split the 9 people into 3 pairs and 1 group of three, you could first choose the group of 3 (9 choose 3 ways to do this) and then multiply by the number of ways to split the 6 remaining people into three pairs (5!!) so the answer would be (9 choose 3) * 5!!

        1 Reply Last reply Reply Quote 3
        • 西瓜西
          西瓜 M0★ M1★ M2★ M3★ M4★ M5★
          last edited by 西瓜

          @v4913 I understand now. Thank you very much!

          Hello, this is 西瓜.

          1 Reply Last reply Reply Quote 2

          • 1 / 1
          • First post
            Last post
          Daily Challenge | Terms | COPPA