How many piles given n identical rocks?

  • Context: Undergrad 
  • Thread starter Thread starter member 428835
  • Start date Start date
  • Tags Tags
    Rocks
Click For Summary

Discussion Overview

The discussion revolves around techniques for counting the number of piles ##p## that can be formed with ##n## identical rocks. Participants explore various methods, including combinatorial approaches and specific examples, while expressing confusion about the lack of a straightforward formula. The conversation touches on theoretical aspects of partitioning and the application of known mathematical constructs.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants propose using the stars-and-bars method to distribute ##n## identical rocks into ##p## piles, but express confusion about the application and potential overcounting.
  • One participant describes a systematic grouping method for counting partitions, providing an example with ##n=7## and detailing the process of forming groups.
  • Several participants note the absence of a straightforward closed formula for counting the number of ways to create piles, which they find surprising given the simplicity of low ##n## cases.
  • There is mention of the Bell triangle as a potentially helpful approach, although it is acknowledged that it does not provide a formula.

Areas of Agreement / Disagreement

Participants generally agree on the complexity of the problem and the lack of a simple solution. However, there are multiple competing views on the best methods to approach the counting of piles, and the discussion remains unresolved regarding the most effective technique.

Contextual Notes

Participants express uncertainty about the assumptions underlying their methods and the definitions of terms used in the discussion. The conversation highlights the limitations of existing techniques and the need for further exploration of the topic.

member 428835
Is there a technique to count the amount of piles ##p## that can be made given ##n## identical rocks? We know ##n=1 \implies p=1##, ##n=2 \implies p=2##, ##n=3 \implies p=3##, ##n=4 \implies p=5##, and so on. I'm kind of lost as to how we approach it. It seems we have ##n## piles that we can distribute to, and we have ##n## "ones" we can distribute to the piles where each pile can have 0 to ##n## ones. I'd think something like stars-and-bars and somehow divide out the same scenarios, but I'm a little confused.
 
Physics news on Phys.org
joshmccraney said:
Is there a technique to count the amount of piles ##p## that can be made given ##n## identical rocks? We know ##n=1 \implies p=1##, ##n=2 \implies p=2##, ##n=3 \implies p=3##, ##n=4 \implies p=5##, and so on. I'm kind of lost as to how we approach it. It seems we have ##n## piles that we can distribute to, and we have ##n## "ones" we can distribute to the piles where each pile can have 0 to ##n## ones. I'd think something like stars-and-bars and somehow divide out the same scenarios, but I'm a little confused.
These are the partition numbers:

https://oeis.org/A000041
 
  • Informative
Likes   Reactions: Dale and DrClaude
joshmccraney said:
Is there a technique to count the amount of piles ##p## that can be made given ##n## identical rocks? We know ##n=1 \implies p=1##, ##n=2 \implies p=2##, ##n=3 \implies p=3##, ##n=4 \implies p=5##, and so on. I'm kind of lost as to how we approach it. It seems we have ##n## piles that we can distribute to, and we have ##n## "ones" we can distribute to the piles where each pile can have 0 to ##n## ones. I'd think something like stars-and-bars and somehow divide out the same scenarios, but I'm a little confused.
If you mean a technique to actually count, I start with piles of one using here an example of ##n=7##. Then systematically group into piles of 2 and then start over with a 3 group and 1's grouping by 2's again, then 3's and so forth. In each case you are simply moving a one left and adding it except each time you start with a larger grouping you go back to all ones for the rest.

1 1 1 1 1 1 1
2 1 1 1 1 1
2 2 1 1 1
2 2 2 1
3 1 1 1 1
3 2 1 1
3 2 2
3 3 1
4 1 1 1
4 2 1
4 3
5 1 1
5 2
6 1
7

giving 15 partitions. You can turn this into an algorithm.

Also, here is a Wolfram applet;

https://www.wolframalpha.com/widgets/view.jsp?id=ca10ab4a89d9f0f6f378b89881f63ba3
 
Last edited:
  • Like
Likes   Reactions: member 428835
I was surprised to learn there is no straightforward closed formula for this. Or even how many ways to do k piles with n rocks. It just seems odd that one can do low n cases in one's head but can't just write down a formula like permutations.
 
bob012345 said:
I was surprised to learn there is no straightforward closed formula for this. Or even how many ways to do k piles with n rocks. It just seems odd that one can do low n cases in one's head but can't just write down a formula like permutations.
Isn't the Bell triangle, while not a formula, a helpful approach?
 
joshmccraney said:
Isn't the Bell triangle, while not a formula, a helpful approach?
I'll look at that. Thanks.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 29 ·
Replies
29
Views
5K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K