Maths

Problem 1

A quick number theory problem

Problem 2

IMO 2005 Q4