PDA

View Full Version : how many ways are there to add 3 numbers to get a bigger integer


dgmath
11-08-2009, 06:38 PM
Hi there,
I'm trying to achieve the number of ways you can add three numbers x, y and z to be equal to a given integer.

For example, let's say the given integer is 10.
so I need to know how many ways are there to add up three numbers x, y and z to be equal to 10?

x+y+z = 10. The values of x, y and z would have to be either a positive whole number, or only a decimal number with .5

Some of the ways are 1) x=0, y=0, z=10 2) x=0, y=5, z=5 3) x=4.5, y=4.5, z = 1. This list can go on, but will still be infinite given that u can only use either a positive whole number or a decimal number with only .5 such as 0.5, 5.5, 9.5 etc.

Do you think is it possible? If so, is there a general way to achieve this for any given integer rather than just 10?

baslau
05-24-2010, 09:11 AM
Full bad taste