HW #5 due Friday May 16 (problem 5 edited)
Given a natural number n and a prime p, let np denote the power to which p appears in the unique factorization of n. So n = product of {pnp : p prime}, where most of the factors are p0 = 1.
1. Write down necessary and sufficient conditions on the exponents {bp, cp} for b|c to be true.
2. Give a formula for gcd(b,c)p in terms of bp, cp.
3. Prove that gcd is associative, in that gcd(a,gcd(b,c)) = gcd(gcd(a,b),c).
4. Let d be a common divisor of b,c. Show that gcd(b/d, c/d) | gcd(b,c).
5. The continued fractions expansion of a positive irrational real number r is
r = n1 + 1/(n2 + 1/(n3 + 1/...
where each ni is a positive natural number.
If r is rational, one can do the same thing, but the expansion terminates.
a. Show that "the" continued fractions expansion exists uniquely for any rational r.
(Actually this holds for real r too, but one needs to study convergence properly to make sense of that statement, and we haven't and won't.)
b. Optional: Compute it for the square root of 5.
c. Compute it for 140/49.
d. Explain the relation to the Euclidean algorithm (computing gcd(m,n) vs. expansion of m/n).
1. Write down necessary and sufficient conditions on the exponents {bp, cp} for b|c to be true.
2. Give a formula for gcd(b,c)p in terms of bp, cp.
3. Prove that gcd is associative, in that gcd(a,gcd(b,c)) = gcd(gcd(a,b),c).
4. Let d be a common divisor of b,c. Show that gcd(b/d, c/d) | gcd(b,c).
5. The continued fractions expansion of a positive irrational real number r is
r = n1 + 1/(n2 + 1/(n3 + 1/...
where each ni is a positive natural number.
If r is rational, one can do the same thing, but the expansion terminates.
a. Show that "the" continued fractions expansion exists uniquely for any rational r.
(Actually this holds for real r too, but one needs to study convergence properly to make sense of that statement, and we haven't and won't.)
b. Optional: Compute it for the square root of 5.
c. Compute it for 140/49.
d. Explain the relation to the Euclidean algorithm (computing gcd(m,n) vs. expansion of m/n).
0 Comments:
Post a Comment
<< Home