In mathematics, the Mian–Chowla sequence is an integer sequence defined recursively in the following way. The sequence starts with
Then for n>1{\displaystyle n>1}, an{\displaystyle a_{n}} is the smallest integer such that the pairwise sum
is distinct, for all i{\displaystyle i} and j{\displaystyle j} less than or equal to n{\displaystyle n}.