New Reply

how is it called this function ??

 
Share Thread Thread Tools
May9-11, 02:34 PM   #1
 

how is it called this function ??


given a number 'n' how is it called this function [tex] P(n,k) [/tex]

so P(n,k) is the number of ways in which an integer 'n' can be expressed as the sum (with repeated summands) of k integers different or not

then for any integers n and k how could i compute [tex] P(n,k) [/tex] ? is there a recurrence equation ??
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> King Richard III found in 'untidy lozenge-shaped grave'
>> Google Drive sports new view and scan enhancements
>> Researcher admits mistakes in stem cell study
May9-11, 06:34 PM   #2
 
Recognitions:
Gold Membership Gold Member
Would it be useful for you to restrict n and k to be positive integers? If so, then you're dealing with the theory of partitions. (If you allow negative integers, then you get infinitely many solutions. Say n = 5 and k = 3. In addition to solutions such as 5 = 3 + 1 + 1, you also get 5 = 5 + 1 + (-1) = 5 + 2 + (-2) = 5 + 3 + (-3), and so on.)

Assuming that you're interested in the case where n, k are positive, we have the following

Theorem: The number of partitions of n into k parts is equal to the number of partitions of n into parts the largest of which is k.

The proof is to consider the Ferrers diagram (see the Wikipedia article for the definition) of such partitions.

It's now easy to simplify your function P(n,k) (By the way, the Wiki article uses P(n,k) for a different function). Let P(n) be the number of unrestricted partitions of n. Then

P(n,k) = P(n-k)

The proof is simple: For each partition of n in which the largest part is k, we have a corresponding partition of n - k. In other words, if

[tex]n = k + k_1 + k_2 + \cdots + k_m[/tex]

then

[tex]n - k = k_1 + k_2 + \cdotd + k_m[/tex]

Thus, you can translate P(n,k) into P(n-k) and use all of the techniques and such from partition theory, only a small part of which is described in the Wiki article.

HTH
May10-11, 02:58 AM   #3
 
ok thanks ... :)
May10-11, 04:20 AM   #4
 

how is it called this function ??


Quote by Petek View Post

...Let P(n) be the number of unrestricted partitions of n. Then

P(n,k) = P(n-k)

The proof is simple: For each partition of n in which the largest part is k, we have a corresponding partition of n - k. In other words, if

[tex]n = k + k_1 + k_2 + \cdots + k_m[/tex]

then

[tex]n - k = k_1 + k_2 + \cdotd + k_m[/tex]

Thus, you can translate P(n,k) into P(n-k) and use all of the techniques and such from partition theory, only a small part of which is described in the Wiki article.

HTH
But parts on the right hand side of [tex]n - k = k_1 + k_2 + \cdotd + k_m[/tex] still need to be smaller or equal to k. So your statement holds only for [tex]n \leq 2k [/tex]. Or am I missing something?
May10-11, 06:03 PM   #5
 
Recognitions:
Gold Membership Gold Member
Quote by FroChro View Post
But parts on the right hand side of [tex]n - k = k_1 + k_2 + \cdotd + k_m[/tex] still need to be smaller or equal to k. So your statement holds only for [tex]n \leq 2k [/tex]. Or am I missing something?
No, you're right. Have to think some more. Thanks for pointing that out!
New Reply
Thread Tools


Similar Threads for: how is it called this function ??
Thread Forum Replies
What is this called? General Physics 3
Can someone tell me what this is called? Linear & Abstract Algebra 5
What is this called? General Discussion 1
What are these called? And do you have one to add? General Discussion 22
What is it called please General Math 4