Let f : N – {1} → N defined by f (n) = the highest prime factor of n. Show that f is neither one-to-one nor onto. Find the range of f.
f : N – {1} → N is defined by
f (n) = the highest prime factors of n.
∴ f (6) = the highest prime factor of 6 = 3 f (12) = the highest prime factor of 12 = 3 Now 6 and 12 are associated to the same element.
∴ f is not one-to-one Also range of f consists of prime numbers only ∴ range of f ≠ N ∴ f is not onto function.
Range of f is the set-of all prime numbers.