• Congratulations to the Class of 2024 on your results!
    Let us know how you went here
    Got a question about your uni preferences? Ask us here

Discrete Maths Last Minute questions (2 Viewers)

4025808

Well-Known Member
Joined
Apr 2, 2009
Messages
4,377
Location
中國農村稻農
Gender
Male
HSC
2011
Uni Grad
2017


Would anyone know how to start off this one?

Firstly I did (n+k)|n^2 but I'm not sure how to proceed from there.
 

leehuan

Well-Known Member
Joined
May 31, 2014
Messages
5,805
Gender
Male
HSC
2015
Sorry I know I can do this myself but I don't have time to right now. Can someone prove this?

 

Drsoccerball

Well-Known Member
Joined
May 28, 2014
Messages
3,650
Gender
Undisclosed
HSC
2015


Would anyone know how to start off this one?

Firstly I did (n+k)|n^2 but I'm not sure how to proceed from there.
Okay so (n + k)|n^2

n^2 = (n + k)M for some M integer.

Take note: n^2 = (n - k)(n + k) + k^2

(n + k)M = (n - k)(n + k) + k^2

(n + k)(M + k - n) = k^2

Therefore (n + k)|k^2

If k <= sqrt(n) that means n + k > k^2 and thus a contradiction (Take note k, n are positive integers)

Therefore k > sqrt(n)
 

leehuan

Well-Known Member
Joined
May 31, 2014
Messages
5,805
Gender
Male
HSC
2015
Okay so (n + k)|n^2

n^2 = (n + k)M for some M integer.

Take note: n^2 = (n - k)(n + k) + k^2

(n + k)M = (n - k)(n + k) + k^2

(n + k)(M + k - n) = k^2

Therefore (n + k)|k^2

If k <= sqrt(n) that means n + k > k^2 and thus a contradiction (Take note k, n are positive integers)

Therefore k > sqrt(n)
Man... need Peter Brown though... cause that's so not obvious to induce the diff. of two squares and the add/deduct trick
 

leehuan

Well-Known Member
Joined
May 31, 2014
Messages
5,805
Gender
Male
HSC
2015






With these perms and combs I'd appreciate anyone checking but it's also (hopefully) for Drsoccerball's convenience
 

leehuan

Well-Known Member
Joined
May 31, 2014
Messages
5,805
Gender
Male
HSC
2015
You didn't try long division?

gosh you people.
I thought you were the one that hated long division

Though yeah that never crosses my mind with algebra anymore unless I explicitly see polynomials
 

leehuan

Well-Known Member
Joined
May 31, 2014
Messages
5,805
Gender
Male
HSC
2015
The question isn't hard but I just want to see it get done because I want to see how you'd set out your working



I'll put down the relevant Euclidean algorithm to save a bit of work

 

Drsoccerball

Well-Known Member
Joined
May 28, 2014
Messages
3,650
Gender
Undisclosed
HSC
2015
The question isn't hard but I just want to see it get done because I want to see how you'd set out your working



I'll put down the relevant Euclidean algorithm to save a bit of work

If your gcd != 1 and your desired number in this case being 8 is not equal to the gcd then you divide everything by the gcd(including the modulus) and multiply everything by 8 except the modulus.
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 2)

Top