Tuesday, July 14, 2009

IF anyone knows this, please help....Math...(solve for a, b, and c)????

a + b + c + ab + bc + ac = abc + 1





Solve for variables a, b, and c such that a, b, and c are positive integers where a%26lt;=b%26lt;=c.





Find all a, b, and c values that fit the equation.





Thanks Very Very Very Much...

IF anyone knows this, please help....Math...(solve for a, b, and c)????
Matlab program:








function gett()


lim = 1000;





for a=0:lim


for b=a:lim


for c=b:lim


if a + b + c + a*b + b*c + a*c == a*b*c + 1


[a b c]


end


end


end


end








Result:





a=0, b=0, c=1


a=2, b=4, c=13


a=2, b= 5, c=8


a=3, b=3, c=7





* * * * * * * * *


lim= 1000 is sufficient because





a*b*c = 1000,000,000





which will always be greater than small numbers of ab + bc + ac.....





So, as numbers increase there will be no solutions.





==%26gt; Only 4 solutions (see above)
Reply:i think i got it : if you want each variable to be different then try this:


a needs to be a negative number


b needs to be number 1


c needs to be a positive number of a


so try this


a=-2


b=1


c=2


plug in and you get


-3=-3


No comments:

Post a Comment