Jump to content
BrainDen.com - Brain Teasers
  • 0


Guest
 Share

Question

Hi all,

The binomial equation is quite well known:

Sum(NCr), {0 <= r <= N} = 2N

NCr is the number of combinations of N objects taken r at a time.

Can you find a similar closed form expression (http://en.wikipedia.org/wiki/Closed-form_expression) for permutations? In the scope of this puzzle, a factorial operation is included in the allowed operations of "closed form expression", along with others such as addition, multiplication etc.

Sum(NPr), {0 <= r <= N} = ?

NPr is the number of permutations of N objects taken r at a time.

This is an original puzzle, so googling won't help. I'm sure this has never come up elsewhere until now. :lol:

Have fun.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

The number of permutations of n objects taken r at a time is n!/(n-r)!

The sum of this over all r leaves n! as the numerator of each, so that can be moved out of the summation.

The summation is left as 1/(n-r)! where r is from 0 to n, which is the same as the sum of 1/r! over the same range (just flipped the order).

According to wikipedia, that sum is equal to e as r approaches infinity.

This leaves e*n! as the number it approaches at n increases.

Link to comment
Share on other sites

  • 0

if N = 1, we have 2. 1!/0! +1!/1! 1!*(1+1) = 2

if N = 2, we have 5. 2!/0! +2!/1! +2!/2! = 2!*(1+1+1/2) = 2! *(5/2) = 5

if N = 3, we have 16. 3!/0! +3!/1! +3!/2! +3!/3! =3!*(1+1+1/2+1/6) = 3!*(16/6) = 16

if N = 4, we have 65. 4!/0! +4!/1! +4!/2! +4!/3! +4!/4! = 4!*(1+1+1/2+1/6+1/24) = 4!*(65/24) = 65

recursively, we have that the next value, N, is the previous value, multiplied by the input, and add 1.

so N =25 =1 +25*(1+24*(1 +23*(1 +22*...2*(1+1))...)

which is about as exact as your gonna get :-)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...