ISL 2007 N5
Find all surjective functions such that for every and every prime , the number is divisible by if and only if is divisible by . ( is the set of all positive integers.) (Iran)
Official text Transcription from NuminaMath olympiads, checked word for word against the official paper. Quoted with source.
Official text: IMO 2007 Shortlist booklet, page 61.
Show the answer
f(n)=n
Solutions
Official solution Solution 1 by the IMO Problem Selection Committee
The terms of the source let olymmath link to this solution but not copy it. Read the solution (IMO official site).
Similar problems
These problems have the most words in common with this statement.