I'm stuck on this:

For all positive integers n and all integers a, gcf(a, a+n) | n.

(For all positive integers n and all integers a, the greatest common fact of 'a' and 'a+n' divides into 'n').

Anybody know where to start?

Printable View

- March 12th 2008, 12:59 PMpizzaRusher1234greatest common factors
I'm stuck on this:

For all positive integers n and all integers a, gcf(a, a+n) | n.

(For all positive integers n and all integers a, the greatest common fact of 'a' and 'a+n' divides into 'n').

Anybody know where to start? - March 12th 2008, 05:27 PMThePerfectHacker
- March 12th 2008, 07:23 PMpizzaRusher1234
- March 12th 2008, 07:31 PMThePerfectHacker
- March 13th 2008, 09:27 AMpizzaRusher1234
sorry.

you said "[since] d|a and d|(a+n) [then] d|n"

I meant how do you know that d|n? Is there a proof for that? - March 13th 2008, 09:29 AMMoo
Hello,

In a general case, if d|a and d|b, d|ax+by,

So if d|a and d|(a+n), d|a+n-a=n

(Wink) - March 13th 2008, 10:25 AMpizzaRusher1234
- March 14th 2008, 12:54 AMMoo
The "if and only if" is correct, but it's not a real definition ;-)

You can say "if c=ax+by, SO gcf(a,b) divides c"

Let's write it :-)

If d=gcf(a,b), then a=da' and b=db' (with a' and b' coprime, but it doesn't matter for the demonstration)

So c=da'x+b'dy=d(a'x+b'y)

So d divides c, it's as simple as this ^^