Maths Olympiad Prep

Library / /56 of 128

Number theory Difficulty 5.3 AIME, harder Prove it Philippines

Problem:

A semiprime is a number that is a product of two prime numbers. How many semiprime numbers less than 20182018 can be expressed as x31x^{3}-1 for some natural number xx?

Solution

Solution:

x31=(x1)(x2+x+1)x^{3}-1 = (x-1)(x^{2}+x+1), so this implies that both x1x-1 and x2+x+1x^{2}+x+1 have to be prime. Furthermore, this also means we only have numbers up to 1212 to work on, as 133>201813^{3} > 2018. Hence, we only have to check x=3,4,6,8,12x = 3, 4, 6, 8, 12 and determine if x2+x+1x^{2}+x+1 is prime.

The values we get are 13,21,43,73,15713, 21, 43, 73, 157, and of the 55, only 44 are prime.

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.