Originally posted by jonnifandangohighest common factor of 6 and 10 is 2.
There are 2 Series (S1 & S2)
S1 begins at 10 and increases by 1
S2 begins at 6 and decreases by 1
Find the first whole number at which S1 is divisable by S2.
*No Trial and Error allowed*
10/6 = 1Mod4
11/5 = 2Mod1
12/4 = 3 Answer
Just find how the answer 3(12/4) is resolved based on the initial inputs 10 & 6 and how you know each series behaves.
Originally posted by PBE6Oops, I guess this isn't really a linear equation. I'll try this little algorithm and see if it works anyway.
This is an example of a Diophantine equation, of the form:
(a-bz) + n(1+z) = 0
Where a, b are given and n, z are integers. I checked the Wolfram site and apparently there is a solution for linear Diophantine equations with 2 variables. I'll post the example when I get back from my meeting, but here's the link to the algorithm:
Originally posted by yinyang78Formulas are for the weak my yinyang!
Uzless, i suppose that what jonnifandango wants is a formula to get the solution.
I imagine the solution would be N="whatever", where N is the number you add to S1 and S2, and whatever will only depend on S1 and S2.
I've started working it out with (10+n)/(6-n)=I , and i'm already stuck. I need to find out a proper definition for I.....