dimanche 28 octobre 2018

How to find if X can be represented as the summation any Y distinct positive integers?

For example if

X= 10 , Y= 3

2,3,5 and 1,4,6 are possible

However for Y=10 This is not possible as we know we can't represent 10 as sum of 10 distinct positive integers. Is there a more specific way to get the results?

Aucun commentaire:

Enregistrer un commentaire