MathDB
Disjoint ranges of two functions

Source: 2014 AIME I #12

March 14, 2014
functionprobabilityAMCAIMEalgebradomainnumber theory

Problem Statement

Let A={1,2,3,4}A=\{1,2,3,4\}, and ff and gg be randomly chosen (not necessarily distinct) functions from AA to AA. The probability that the range of ff and the range of gg are disjoint is mn\tfrac{m}{n}, where mm and nn are relatively prime positive integers. Find mm.