Skip to content
Miscellaneous Exercise · Q12

Q.Let A={9,10,11,12,13}A = \{9, 10, 11, 12, 13\} and let f:A→Nf : A \to \mathbb{N} be defined by f(n)=f(n) = the highest prime factor of nn. Find the range of ff.

Uttar Pradesh UpmspTextbookSubjective· 2mImportance★★★★★est
58% · 58/100 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The range of ff is the set of distinct highest prime factors of the numbers in AA. Computing each: 9→39 \to 3, 10→510 \to 5, 11→1111 \to 11, 12→312 \to 3, 13→1313 \to 13. So the range is {3,5,11,13}\{3, 5, 11, 13\}.

The idea is simple: for each number in the set AA, we find its prime factorization and pick the largest prime that appears. The range of ff is just the collection of those largest primes — no duplicates allowed.

Why does this work? Because ff maps each input to exactly one output (the highest prime factor), and the range is the set of all outputs that actually occur. So we just need to compute f(n)f(n) for each n∈An \in A and collect the distinct values.

Let’s go through each element of AA one by one.

  1. n=9n = 9

    9=329 = 3^2. The only prime factor is 33, so the highest prime factor is 33.

    So f(9)=3f(9) = 3.

  2. n=10n = 10

    10=2×510 = 2 \times 5. The prime factors are 22 and 55; the larger is 55.

    So f(10)=5f(10) = 5.

  3. n=11n = 11

    1111 is prime. Its only prime factor is itself.

    So f(11)=11f(11) = 11.

  4. n=12n = 12

    12=22×312 = 2^2 \times 3. The prime factors are 22 and 33; the larger is 33.

    So f(12)=3f(12) = 3.

  5. n=13n = 13

    1313 is prime. Its only prime factor is itself.

    So f(13)=13f(13) = 13. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.