MathDB
Inequality FE

Source: 2018 AIME II #15

March 23, 2018
inequalities

Problem Statement

Find the number of functions ff from {0,1,2,3,4,5,6}\{0,1,2,3,4,5,6\} to the integers such that f(0)=0,f(6)=12f(0)=0, f(6)=12, and xyf(x)f(y)3xy|x-y| \le |f(x)-f(y)| \le 3 |x-y| for all xx and yy in {0,1,2,3,4,5,6}\{0,1,2,3,4,5,6\}.