Maths Olympiad Prep

Library / /30 of 740

, 2014

Number theory Difficulty 4.3 AIME Find the answer United States

Problem:
What is the smallest positive integer nn which cannot be written in any of the following forms?
- n=1+2++kn=1+2+\cdots+k for a positive integer kk.
- n=pkn=p^{k} for a prime number pp and integer kk.
- n=p+1n=p+1 for a prime number pp.
- n=pqn=p q for some distinct prime numbers pp and qq

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

Solution:
Answer: 40 The first numbers which are neither of the form pkp^{k} nor pqp q are 12,18,20,24,28,30,36,40,12,18,20,24,28,30,36,40, \ldots. Of these 12,18,20,24,3012,18,20,24,30 are of the form p+1p+1 and 28,36 are triangular. Hence the answer is 40 .

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: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.