n = p 1 a 1 p 2 a 2 . . . p r a r , where p i are distinct primes and a i ∈ Z ≥ 0 .
Find the number of ordered k -tuples ( c 1 , . . . , c k ) such that i = 1 ∏ k c i = n
This problem is a part of Tessellate S.T.E.M.S.
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.
Can you explain this in a more simpler way cuz I am not well up in the subject of VECTORS
Log in to reply
You don't need to think about vectors. You can just say: how many ways are there to write a 1 as the sum of k nonnegative integers (the exponents of p 1 in the c k )? Stars and bars says ( k − 1 a 1 + k − 1 ) . Then how many ways are there to write a 2 as the sum of k nonnegative integers? And so on.
Problem Loading...
Note Loading...
Set Loading...
Look at the vector v = ⎝ ⎜ ⎜ ⎜ ⎛ a 1 a 2 ⋮ a r ⎠ ⎟ ⎟ ⎟ ⎞ . Representing n as the product of k positive integers (the problem should specify that the c i are positive) is the same as writing v as the sum of k vectors whose entries are nonnegative integers. We can do this coordinate by coordinate. The number of ways of writing a i as a sum of k nonnegative integers is ( k − 1 a i + k − 1 ) --this is often called stars and bars --so the number of ways of writing v as a sum of k vectors whose entries are nonnegative integers is the product of these.