# AIME 2015 Problem 5

Discrete Mathematics Level 3

Two unit squares are selected at random without replacement from an $$n \times n$$ grid of unit squares. Find the least positive integer $$n$$ such that the probability that the two selected unit squares are horizontally or vertically adjacent is less than $$\dfrac{1}{2015}$$.

×