All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
How many solutions? (Posted on 2015-03-30) Difficulty: 2 of 5
How many non-negative integral solutions
of the equation x + y + z =N exist?

No Solution Yet Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Explanation to Puzzle Answer Comment 3 of 3 |
(In reply to Puzzle Answer by K Sengupta)

Let us consider N green marbles and 2 gray marbles.


x denotes the  number of green marbles to the left of the first gray marble.
y denotes the number of green marbles between two gray marbles
z denotes the number of green marbles to the right of the second gray marble.

                      x                                             y                                           z
  | ************************  G ************************** G **********************|
               green                 1st gray      green                    2nd gray     green
                marbles            marble      marbles                  marble      marbles

Obviously, this is an analogue of the given  equation x+y+z=N
If there does NOT exist a green marble in any of the three positions, then that would mean that the corresponding variable would assume the value zero.

Consequently,  the required number of solutions is:
comb(N+2 ,2) = (N+1)(N+2)/2.

Edited on September 7, 2022, 3:23 am
  Posted by K Sengupta on 2022-09-07 02:39:19

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (8)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information