Maths Olympiad Prep

Library / /125 of 520

Number theory Difficulty 5.7 AIME, harder Prove it

3 Let mm be a positive integer greater than 1, and m(m1)!+1m \mid (m-1)! + 1. Prove: mm is a prime number.

Solution

3. If mm is a composite number, then there exists a positive integer pp, such that 2p<m2 \leqslant p<m, and pmp \mid m. In this case, p(m1)!p \mid (m-1)!, but m(m1)!+1m \mid (m-1)!+1, so p(m1)!+1p \mid (m-1)!+1, which leads to p1p \mid 1, a contradiction.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.