# Forming Certain Functions

Discrete Mathematics Level 5

How many functions $$f:\{1,2,3,\ldots,10\}\rightarrow\{1,2,3,\ldots,10\}$$ are there, such that the greatest common factor of all the numbers in $$\mathrm{range}(f)$$ is 1?

×