[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 379: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
forum.virtualchallengemeets.com • View topic - Diophantine equations

Diophantine equations

What could be so hard. It's a multiple-choice test for Pete's sake.

Diophantine equations

Postby paradox » Sat Mar 31, 2012 1:40 pm

i was looking at a TMSCA test and wondered upon a diophantine equation
given all the cases such as x and y are both positive or negative or either is negative or positive
how do you solve these thanks
paradox
Typical User
 
Posts: 8
Joined: Sat Apr 17, 2010 6:28 pm

Re: Diophantine equations

Postby FabensMath » Sat Mar 31, 2012 4:20 pm

I was told to take the least common multiple of the x and y values, and divide the other number by this, then subtract 1 to get the answer.
Fabens High School, Fabens
District 3-3A, Region 1
2012-3A-Calculator State Champ
User avatar
FabensMath
Incessant Spammer
 
Posts: 364
Joined: Sat Jan 28, 2012 12:57 am
Location: Fabens, TX

Re: Diophantine equations

Postby 007math » Sat Mar 31, 2012 9:14 pm

3rd Place State Mathematics 5A 2012
007math
Incessant Spammer
 
Posts: 381
Joined: Mon Feb 22, 2010 8:06 pm

Re: Diophantine equations

Postby chrishuff » Sat Mar 31, 2012 9:39 pm

I'm guessing that you would round down in that case...
Christopher Huff
Juan Seguin High School Alumni '12
Retired officially as of 4-21-2012 (Well, I should say its the complete end of my UIL Academics career)

Texas A&M University - Class of 2016
User avatar
chrishuff
Incessant Spammer
 
Posts: 209
Joined: Sat Jan 28, 2012 12:16 pm
Location: Arlington, Texas

Re: Diophantine equations

Postby rcoker7 » Tue Apr 03, 2012 1:33 pm

There's different ways to solve each different case to this problem.

case 1: the problem says you need to find the number of POSITIVE integers.

Ok let's say we have ax+by=c. If neither a or b divide c, then you don't always do the same thing. The exact answer for this is c/(ab)+1-(min(x)/b+min(y)/a) where min(x) is the smallest value of x that works and min(y) is the smallest value of y that works. So basically you have c/(ab) either rounded up or down, depending on the numbers.

If one of a or b divides c, then you take c/(ab) and round it down. If both divide c, then you round it down then subtract 1.

case 2: the problem says you need to find the number of NONNEGATIVE integers.

This works the exact same when neither a or b divide c.

If either a or b(or both) divide c then you simply take c/(ab) and round up.

sorry for the 3 day bump and the lack of latex, btw.

EDIT: This only works if a and b are relatively prime.
Region scores
NS: 368
CALC: 308
MATH: 318
SCIENCE: 232(32,96,104)
rcoker7
Determined Spammer
 
Posts: 125
Joined: Mon Mar 19, 2012 6:05 pm

Re: Diophantine equations

Postby FabensMath » Tue Apr 03, 2012 7:06 pm

Thanks Ross! Your'e awesome!
Fabens High School, Fabens
District 3-3A, Region 1
2012-3A-Calculator State Champ
User avatar
FabensMath
Incessant Spammer
 
Posts: 364
Joined: Sat Jan 28, 2012 12:57 am
Location: Fabens, TX


Return to UIL Mathematics

Who is online

Users browsing this forum: No registered users and 1 guest