MathDB
Subsets of {1,...,2004} with a & b such that 2004 | a^2-b^2

Source: XIII Rioplatense Mathematical Olympiad (2004), Level 3

July 26, 2011
modular arithmeticnumber theory unsolvednumber theory

Problem Statement

Find the smallest integer nn such that each subset of {1,2,,2004}\{1,2,\ldots, 2004\} with nn elements has two distinct elements aa and bb for which a2b2a^2-b^2 is a multiple of 20042004.