Integers with exactly two non-trivial factors

CAT 2023 Slot 2 · QA · Medium · Number System

The number of positive integers less than 50, having exactly two distinct factors other than 1 and itself, is

Answer

15

Explanation

Having exactly two distinct factors other than 1 and itself means the total number of factors of the integer NN is 2+2=42 + 2 = 4.

A number NN has 4 factors if:

  1. N=p3N = p^3, where pp is a prime.

    • 23=8<502^3 = 8 < 50
    • 33=27<503^3 = 27 < 50
    • 53=125>505^3 = 125 > 50 There are 22 such numbers (8,278, 27).
  2. N=p1p2N = p_1 \cdot p_2, where p1,p2p_1, p_2 are distinct primes.

    • With 22: 2×3=6,2×5=10,2×7=14,2×11=22,2×13=26,2×17=34,2×19=38,2×23=462 \times 3 = 6, 2 \times 5 = 10, 2 \times 7 = 14, 2 \times 11 = 22, 2 \times 13 = 26, 2 \times 17 = 34, 2 \times 19 = 38, 2 \times 23 = 46 (8 numbers)
    • With 33: 3×5=15,3×7=21,3×11=33,3×13=393 \times 5 = 15, 3 \times 7 = 21, 3 \times 11 = 33, 3 \times 13 = 39 (4 numbers)
    • With 55: 5×7=355 \times 7 = 35 (1 number) There are 8+4+1=138 + 4 + 1 = 13 such numbers.

Total positive integers less than 50 with exactly 4 factors =2+13=15= 2 + 13 = 15.

Practise this under exam conditions

Sign in to solve it with a live timer, the on-screen CAT calculator, and streak and accuracy tracking across every question you attempt.

Solve in the workspace