Number theory Discrete Math. prove gcd(n,n+2) = 1 or 2. What possible values can gcd(n,n+3) have what about gcd(n,n+4). What about gcd(n.n+k)

pobi1k

pobi1k

Answered question

2022-09-06

Number theory Discrete Math
prove g c d ( n , n + 2 ) = 1 or 2. What possible values can g c d ( n , n + 3 ) have what about g c d ( n , n + 4 )C. What about g c d ( n . n + k )

Answer & Explanation

trestegp0

trestegp0

Beginner2022-09-07Added 12 answers

Step 1
If d divides m and d divides n, then d divides n m.
Step 2
Recall that the gcd of m and n is the largest positive integer that divides both m and n, and that d divides n if d k = n for some integer k (by definition).

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?