A
smooth
partition of the integer
n
is a set of positive integers
a
1
,
a
2
,
…
a
k
such that
1.
k
is a positive integer,
2.
a
1
≤
a
2
≤
⋯
≤
a
k
,
3.
∑
i
=
1
k
a
i
=
n
,
and
4.
a
k
−
a
1
≤
1
.
Determine how many smooth partitions there are of the integer
2
5
0
.
Details and assumptions
Note: The definition given above is not standard terminology.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Effectively, what we are told is that, in each smooth partition, there are constants a 1 , n 1 , n 2 , and k that uniquely describe the partition, where a 1 is just a 1 for our sequence, n 1 is the number of a i with value a 1 , n 2 is the number of a i with value a 1 + 1 , and k is just k .
We note by the fourth rule that all a i either have value a 1 or a 1 + 1 , so n 1 + n 2 = k . This makes n 2 redundant.
Now, we note that the sum of the a i is n 1 ⋅ a 1 + ( k − n 1 ) ⋅ ( a 1 + 1 ) . Expanding yields that this is equal to k ⋅ a 1 + ( k − n 1 ) . We can see that this means that k and a 1 uniquely determine n 1 , if it exists.
Now we want to count how many valid ( a 1 , k ) pairs there are. We see that restrictions 2 and 4 are now taken care of, so that only leaves 1 and 3. However, 1 just states that both numbers are integers, so that really leaves 3.
We furthermore note that the choice of n 1 (which we note can be at most k and must be positive), now allows us to "pinpoint" our range created by our ordered pair to get that ( a 1 + 1 ) ⋅ k > 2 5 0 ≥ a 1 ⋅ k . Since 3 is effectively the only restriction, we see that this is our only nontrivial restriction on a 1 and k . However, this inequality implies that a 1 = ⌊ k 2 5 0 ⌋
Since this will always be an integer by definition of the floor function, and this is our only nontrivial restriction, we observe that a 1 is redundant. However, since a 1 and k are positive, we see that 0 < k ≤ 2 5 0 .
Since any choice of k within that range will uniquely determine a 1 , n 1 , and n 2 , there are 2 5 0 smooth partitions of 2 5 0 . Note that, in general, the same reasoning implies that there are n smooth partitions of the integer n > 0 .
On reading the Rules of the sets., we understand,
1.
a
k
−
a
1
=
1
or
a
k
−
a
1
=
0
2. Any Smooth Partition set will have maximum of 2 distinct Integers repeated numbers of times to attain setsum of 250
3. There can not be more than one set of Elements "n" satisfying all the conditions above because all the Elements in a set are Integers.
4. As a set contain all Integers .., The maximum Elements must be 250 and minimum must be 1 . Thus which says , there must be minimum of one Ordered set which have number of elements equals a value between 250 and 1
The above Conclusions from Rules Prove for a number "n" there Exists "n" number of smooth partition sets. Thus the answer must be "250".
We get the same answer if we go through set building method :- (below formula applicable to this Question)
[let us represent "number of Elements in a set" as
N
(
S
)
]
*
N
(
S
)
N
u
m
b
e
r
(
2
5
0
)
= a value say "v" *
Note: In the value "v" ., If we remove decimal digits ...we get
a
1
.
we also get
a
k
as
a
k
=
a
1
+ 1
* Thus for a value of N(S) .... we get value of
a
1
and
a
k
*
....
{an Ordered set}
Thus ., 1 ≤ N ( S ) ≤ 2 5 0 ., we get Positive Integer value for a 1
Thus Maximum of 250 sets are Possible for the number 250.
We observe that each value a i can differ from all other values a j by at most one. It then follows that a partition of n into k integers will always contain k 1 integers of value floor(n/k), and k-k 1 integers of value ceil(n/k). Since the above definition fixes all orderings for a given partition, we have one partition for each value of k. To conclude, k can of course be in the range (1, n).
Let positive integer m be the value of a 1, positive integer p be the number of a i whose value is m. Hence, the value of a k is m + 1. Let positive integer q be the number of a i whose value is m +1. \displaystyle \sum {i=1}^k a i = n \Rightarrow p \times m + q \times (m +1) = 250 \Rightarrow m \times (p + q) = 250 - q Since 250 \geq m \geq 1, \rightarrow 250 \geq p + q \geq 1. Hence, there are 250 ways to choose the value of p + q, for each value, we can always choose q and m so that 250 - q is divisble by m, and because \frac {250 - q}{m} \deq 250, we can choose p so that p + q = \frac {250 - q}{m} Obviously, there is only one way to choose m, p, q for each value of p + q. If there exist m 1 not qual to m 2 such that: \frac {250 - q 1}{m 1} = \frac {250 - q 2}{m 2} \Rightarrow 250 \times (m 1 - m 2) = q 2 - q 1, this is impossible since 250 > q 2 - q 1 Hence, the answer is 250
There exist n Smooth Partition for the number n . This can be gained by the following arguments:
The minimum number of set element of a smooth partition is 1, which is the number n itself to be a 1 , which is the first smooth partition in my solution
Then for the second smooth partition, it contains two number a 1 and a 2 which are ⌊ 2 n ⌋ and ⌈ 2 n ⌉
For the m t h smooth partition, it contains m number, i.e. a 1 , a 2 , a 3 , . . . , a m The values of these numbers are obtained this way :
a i = ⌊ m n ⌋ then we find the sum of these numbers
∑ i = 1 m a i then we find the lack of values
n − ∑ i = 1 m a 1 and denote it as S
Let S be separated into several values of 1 s, e.g. 1 2 can be written as 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 , adding this 1 s equally to a m , a m − 1 , a m − 2 , . . . a m − S + 1
this way can ensure that a m − a 1 ≤ 1
Hence from the explanation we can get that m ≤ n because when m = n the smooth partition will contain n numbers which are n 1 s., which is the partition with most number in it which is as asked since a z needs to be positive integer.
Therefore the answer to the Problem is 2 5 0 .
We claim that for integers i , m with 1 ≤ i ≤ m , there is one smooth partition of m with exactly i parts (i.e. k = i ). The parts in a smooth partition take on at most two values that differ by 1. When there are i parts, the values must be ⌊ i m ⌋ and ⌈ i m ⌉ . There must be m ( m o d i ) that are ⌈ i m ⌉ and the rest are ⌊ i m ⌋ . Since the parts must be arranged in increasing order, there will only be one such partition. Thus, there are 2 5 0 partitions of 2 5 0 .
The four boundaries lead us to notice the answer is same as the integer given, hence the answer is 250.
250=a {1}+a {2}+a {3}+a {4}........................a {n} and if a {1}=1 then a {n} can take two values i.e.1&2 if a {n} takes 1 then a {2}=a {3}=a {4}=a {5}=a {6}=1 (because of 2.) so 250=1+1+1+1+1......................... and the terms will be 250 if a {n} takes 2 then if a {n-1} takes 2 values i.e. 1&2 if a {n-1} takes 1 then 250=1+1+1+1+.....................+1+2 and terms will be 249 if it takes 2 then there will be two values for if a_{n-2} i.e. 1&2 again 250=1+1+1+ +1+2+2 and terms will be 248 250=1+1+1+ +2+2+2 and terms will be 247 . . . . . . 250=249+250 there are 2 terms 250=250 there is 1 term So total possible partitions will be 250.
Start from n=1, 1 for n=2, 1 1 and 2 for n=3, 1 1 1, 1 2 and 3 for n=4 1 1 1 1, 1 1 2, 1 3 and 4 so for n=250 there are 250 smooth partitiions with k=1 until k=250
Problem Loading...
Note Loading...
Set Loading...
From the problem we can see that in a smooth partition, min { a i } = a 1 , and max { a i } = a k , so, in any smooth partition ∣ a i − a j ∣ ≤ 1 for any 1 ≤ i , j ≤ k . Let a 1 = x , then we have a i ≤ x + 1 for all i .
Now, as the integers are strictly increasing, we can write them as { a i } i = 1 k = x , x , ⋯ , x , ( x + 1 ) , ⋯ , ( x + 1 ) k − p p where k > p ≥ 0 ( p = 0 implies a 1 = a k , and as a 1 = x , k − p > 0 ⇒ k > p )
And thus, sum of the integers is k x + p , and thus we have to solve k x + p = 2 5 0 in integers with 1 ≤ k ≤ 2 5 0 , 0 ≤ p < k , But we know that by reminder theorem, for each k in the limit, k x + p = 2 5 0 has an unique solution, namely the reminder of 250 upon division by k , so the number of solutions is 2 5 0 .