Posts

allen inmo class 1 part 2 pending

Image
 Q3. S3. Example: p = 5 1 + 1/4 + 1/2 + 1/3 =  5/4 + 5/6  = 5(1/4 + 1/6) = 5(5/12) works. So we simply paired the fractions cleverly. Can be done for any prime to achieve one factor of p. But we need 2 factors of p. What about the other factor? Let S = 1/1 + 1/2 ... 1/(p-1) Also write it in revers and add: 2S =  1 + 1/p-1 + 1/2 + 1/p-2 ... 1/p-1 + 1 = p [1/(p-1) + 1/2.(p-2) + 1/3.(p-3) .. 1/(p-1)] If the inner sum gives us a factor of 'p' we are done. Read up on modular multiplicative inverse . Here for each fraction it exists mod p. And it's simply a permutation of 1,2,3...p-1 Taking mod p: 1/p-1 + 1/2*-2 + 1/3*-3 .. = -[1/1^2 + 1/2^2 + 1/3^2 .. + 1/(p-1)^2] Since their inverses are a permutation of the same numbers, the sum is equal to: -[1^2 + 2^2 + 3^2 .... (p-1)^2] Which is sum of first n squares and has a factor of 'p'. Hence proved.

Modular multiplicate inverse

What is 1/2 mod 5? Let's say x. => 1/2 = x mod 5 => 2x = 1 mod 5 => x = 3 mod 5 In general, when does the inverse exist? a^-1 mod m exists iff gcd(a,m) = 1 So 1/2 mod 6 doesn't exist. For any prime: 1/1, 1/2, 1/3... 1/p-1 mod p will be a permutation of 1,2,3...p-1 Why? First of all the inverses exist for each fraction since gcd(k,p) = 1 for each k in the denominator. Now we show none of them are equal. If they are equal, then: Let's say 1/a = c = 1/b mod p. Then: a.c = b.c mod p c(a-b) = 0 mod p p will divide either c or (a-b) but both are less than p. So not possible. Now we have p-1 distinct remainders against p-1 possible remainders. So they have to be a permutation of 1,2,3..p-1.

powers modulo cheat sheet

 squares mod 4 = 0,1  squares mod 8 = 0,1,4  cubes mod 7,9 = 0,+-1 Also, x^3 = x mod 3  x^4 mod 5,16 = 0,1  x^5 mod 11 = 0,1,-1  x^6 mod 7 = 0,1  x^6 mod 13 = 0,1,-1 So for a prime p = 2k+1, x^k = 0,1,-1 mod p

practice problems pending

Q1)  f:N->N is a strictly increasing function such that f(f(n)) = 3n for all n in N. Find (f(2001)). S1.

allen inmo class 1 done

Image
 Q1. S1. x^5  = y^2 + 4 FLT x^10 = 1 mod 11 when x,11 are co prime. x^5)^2 = 1 mod 11 => x^5 = -1,1 mod 11 Including the case when x,11 are not co prime x^5 = 0,1,-1 mod 11 What about y^2 Try y = 0,1,2,3,4,5 mod 11  (rest are symmetric) => y^2 = 0,1,4,9,5,3 mod 11 Plug these values in => no solution. Q2. S2. Quick powers modulo cheat sheet . For cubes, we consider mod 3,7,9 x^3 = x mod 3 So it becomes: x + y = 2 mod 3 = -1 mod 3 So possible combinations: (x,y) = (-1,0), (0,-1), (1,1) x = 3k + a => x^3 = a^3 mod 9 Consider all 3 cases and compute mod 9. RHS mod 9 = 2 Case 1: (-1,0) LHS = 8 mod 9 Case 2: (0,-1) LHS = 8 mod 9 Case 3: (1,1) LHS = 8 mod 9 So in each case LHS is 8 mod 9 while RHS is 2 mod 9. Not possible. H.P.

INMO PS 24 Nov Q2 pending

Image
 Q1. S1. a/b = x b/c = y c/a = z => x + y + z  and 1/x + 1/y + 1/z are both integers. And x.y.z = 1 1/x + 1/y + 1/z = xy + yz + zx Using vieta's t^3 - t^2(x+y+z = m) + t(xy + yz + zx = n) - 1 = 0 is the equation having x,y,z as roots. And x,y,z are rationals as given. It has all integer coefficients and all roots rational. So all roots will be of the form p/q with p,q co prime, such that p is a factor of constant term and q is a factor of leading coefficient. So all roots will be +-1. => |a| = |b| = |c| Q2. S2. Quick info from the question: Polynomial with integer coefficients => a - b | P(a) - P(b) n odd means some sort of parity argument. Try some small values first: For n = 1, solution is trivial. For n = 2 consider: P(x) = 3-x P(1) = 2 and P(2) = 1 but they are unequal. So doesn't work for even 'n'. Try n = 3 Let P(a) = b, P(b) = c, P(c) = a We know that: a-b|P(a)-P(b) since a-b | a^k - b^k => a-b | b-c b-c | c-a c-a | a-b => a-b|b-c|c-a|a-b => a-b...

Prove that pending

Image
  simple proof.