Quantrex Quantrex AcademyJEE · NEET · NDA PYQs with solutions Open app
JEE MainMathematicsFunctions

Let f: N - 1 N be defined such that f(n) is the number of distinct prime factors of n . Let h: N - 1 N be a function defined by h(n) = n - f(n) . Then the function h is

Options

  1. Aneither one-one nor onto
  2. Bone-one but not onto
  3. Conto but not one-one
  4. Dboth one-one and onto

Correct answer

A. neither one-one nor onto

Step-by-step solution

Given h(n) = n - f(n) , where f(n) is the number of distinct prime factors of n . Let us evaluate h(n) for some initial values of n 2 : h(2) = 2 - 1 = 1 h(3) = 3 - 1 = 2 h(4) = 4 - 1 = 3 h(5) = 5 - 1 = 4 h(6) = 6 - 2 = 4 Since h(5) = h(6) = 4 , the function h is not one-one. To check if h is onto, let us see if there exists any n N - 1 such that h(n) = 5 . n - f(n) = 5 n = f(n) + 5 If f(n) = 1 , then n = 6 , but f(6) = 2 1 . If f(n) = 2 , then n = 7 , but f(7) = 1 2 . If f(n) = 3 , then n = 8 , but f(8) = 1 3 . For

Practice Functions on Quantrex Academy →

More from Functions

Let N denote the set of all positive integers. Consider the sets A = 1, 2, 3, 4, 5 and B = 1, 2, 3, 4, 5, 6, 7 . Let S be the set of all functions f: A B such that f(2) 2 and f(4) 2026Let f:(1, ) R be a function defined as f(x) = x-1 x+1 . Let f^ i+1 (x) = f(f^i(x)) , i=1, 2, , 25 , where f^1(x)=f(x) . If g(x) + f²⁶(x) = 0 , x (1, ) , then the area of the region 2026Let f be a polynomial function such that ₂(f(x)) = ( ₂ (2+ 2 3 + 2 9 + ) ) ₃ (1+ f(x) f(1/x) ) , x>0 and f(6)=37 . Then _ n=1 ¹⁰f(n) is equal to ________. 2026Let f: R R be defined as f(x) = 2x^2 - 3x + 2 3x^2 + x + 3 . Then f is : 2026Let e be the base of natural logarithm and let f: 1, 2, 3, 4 1, e, e^2, e^3 and g: 1, e, e^2, e^3 1, 1 2 , 1 3 , 1 4 be two bijective functions such that f is strictly decreasing a 2026Let f: R R be a function such that f(x) + 3f ( 2 - x ) = x , x R . Let the maximum value of f on R be . If the area of the region bounded by the curves g(x) = x^2 and h(x) = x^3 , 2026The sum of all the integral values of p such that the equation 3 ^2 x + 12 x - 3 = p , x R , has at least one solution, is: 2026Let A = 1, 2, 3, 4, 5, 6 . The number of one-one functions f: A A such that f(1) 3 , f(3) 4 and f(2) + f(3) = 5 , is __________. 2026 Full Functions list All JEE Main PYQs