Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Prove that n divides nCm, if m and n are relaitvely prime

  • 29-10-2010 8:37am
    #1
    Moderators, Education Moderators, Motoring & Transport Moderators Posts: 7,396 Mod ✭✭✭✭


    I have to prove that if m and n are relatively prime (i.e. coprime, i.e. gcd(m,n) = 1) then nCm is divisible by n. 0 <= m <= n

    Am I missing something obvious here? I wasn't sure how to do this so I went ahead and expanded nCm - to get

    [latex]\displaystyle \frac{n(n-1)(n-2)\ldots(n-m+1)}{(m)(m-1)\ldots(1)}[/latex]

    Which is clearly divisible by n, as there are no multiples of n in the denominator. I don't really see what relatively prime has to do with it.

    Although if n and m are equal, my example doesn't work. Am I taking the completely wrong approach to this?

    EDIT: For some reason Latex refuses to display that + sign. That last bracket should be n-m+1


Comments

  • Registered Users, Registered Users 2 Posts: 3,745 ✭✭✭Eliot Rosewater


    What might be happening is that in certain cases elements of the denominator are cancelling out that n. For instance, if n=12 and m=4, then (m)(m-1)=12, and this cancels out the n term.


  • Moderators, Education Moderators, Motoring & Transport Moderators Posts: 7,396 Mod ✭✭✭✭**Timbuk2**


    What might be happening is that in certain cases elements of the denominator are cancelling out that n. For instance, if n=12 and m=4, then (m)(m-1)=12, and this cancels out the n term.

    Oh yea! That makes perfect sense, I'm not sure what I was thinking! I remember doing an example similar to that, but it was for primes so I don't think there was a danger of them cancelling out.

    But if they are relatively prime, then they have no common factors. Using this fact, is my above method somewhat valid?


  • Registered Users, Registered Users 2 Posts: 642 ✭✭✭red_fox


    Take for example n=12 m=5 then

    [latex]\displaystyle {{12}\choose{5}}:= \frac{12.11.10.9.8}{5.4.3.2.1} [/latex]

    So the '12' can be cancelled by '4x3' (of course 12C5 is divisible by 12).

    Although if you can assume that the binomial coefficient is always an integer then there is a way to do it which relies only on the point you make.


Advertisement