olymmath

CR-MO 2006

Costa Rica national mathematics olympiad 2006.

Other problems

Problem 1

Let ff be a function that satisfies : f(x)+2f(x+20012x−1)=4014−x.f(x)+2f\left(\frac{x+\frac{2001}2}{x-1}\right) = 4014-x. Find f(2004)f(2004) .

Problem 2

Let nn be a positive integer, and let pp be a prime, such that n>pn>p . Prove that : (np)≡⌊np⌋ (modp).\binom np \equiv \left\lfloor\frac{n}{p}\right\rfloor \ \pmod p.