Skip to main content

All Questions

1 vote
1 answer
294 views

Minimum number of partitions required for obtaining all numbers from $1$ to $n$

I took part in a coding contest organized by a club in my college for freshers, In one of the problems it was asked to find out the minimum number of partitions of a number $n$, so that all the ...
Sarthak's user avatar
  • 13
4 votes
4 answers
1k views

# of partitions of $n$ into at most $r$ positive integers $=$ # of partitions of $n + r$ into exactly $r$ positive integers?

How do I see that the number of partitions of the integer $n$ into at most $r$ positive integers is equal to the number of partitions of $n + r$ into exactly $r$ positive integers?
user avatar