Back to Mathematical Olympiad
Difficulty: 5/102020 IOQM 2020 (Q17)

How many two-digit numbers have exactly 4 positive factors? (Here 1 and the number are also considered as factors of .)

Guide / Hint

Hint 1: Show that a number has exactly 4 factors if and only if it is of the form or for prime numbers .

Hint 2: For , find all prime cubes that are two-digit numbers.

Hint 3: For (with ), count the prime pairs whose product is between 10 and 99 by fixing .

Solution

A positive integer has exactly 4 positive factors if and only if its prime factorization is of the form:

  1. for a prime , or

  2. for distinct primes .

We are looking for two-digit numbers, which means .

Case 1:

  • If : (not a two-digit number).

  • If : (valid).

  • If : (invalid).

This case yields exactly solution: .

Case 2: with

  • If : we need . The primes in this range are (13 primes).

  • If : we need . Since , . The primes in this range are (9 primes).

  • If : we need . Since , . The primes in this range are (5 primes).

  • If : we need . Since , . The primes in this range are (2 primes).

  • If : the smallest product is , so no solutions.

Summing Case 2: solutions.

Total: The total number of valid two-digit numbers is .

Ready to track your progress and master these topics?

Create a free account