MathDB
2016 LMT Individual #16

Source:

April 10, 2016

Problem Statement

Let NN be the number of functions f:{1,2,3,4,5,6,7,8,9,10}{1,2,3,4,5}f:\{1,2,3,4,5,6,7,8,9,10\} \rightarrow \{1,2,3,4,5\} that have the property that for 1x51\leq x\leq 5 it is true that f(f(x))=xf(f(x))=x. Given that NN can be written in the form 5ab5^a\cdot b for positive integers aa and bb with bb not divisible by 55, find a+ba+b.
Proposed by Nathan Ramesh