GATE CSE
First time here? Checkout the FAQ!
x
0 votes
62 views

asked in Combinatory by Active (1.7k points)   | 62 views

1 Answer

+1 vote
Best answer

This is one form of stars and bars problem where x,y,z should be non zero.

The number of solutions to the equation x+y+z=17 where x,y,z are positive integers, is given by

(n−1 C k−1)

Here, n=17,k=3 and thus we will get 120 as answer.

Ref: https://en.wikipedia.org/wiki/Stars_and_bars_%28combinatorics%29

.

 

 

answered by Loyal (4.7k points)  
selected by
Top Users Feb 2017
  1. Arjun

    4898 Points

  2. Bikram

    4102 Points

  3. Habibkhan

    3748 Points

  4. Aboveallplayer

    2986 Points

  5. sriv_shubham

    2288 Points

  6. Smriti012

    2222 Points

  7. Arnabi

    1946 Points

  8. Debashish Deka

    1920 Points

  9. mcjoshi

    1614 Points

  10. sh!va

    1462 Points

Monthly Topper: Rs. 500 gift card

20,793 questions
25,951 answers
59,557 comments
21,976 users