MathDB
Number of Permutations

Source: Turkey TST 2014 Day 1 Problem 1

March 12, 2014
inductionanalytic geometrygraphing linesslopecombinatorics proposedcombinatorics

Problem Statement

Find the number of (a1,a2,...,a2014)(a_1,a_2, ... ,a_{2014}) permutations of the (1,2,...,2014)(1,2, . . . ,2014) such that, for all 1i<j20141\leq i<j\leq2014, i+aij+aji+a_i \leq j+a_j.