Find the number of all onto functions from the set $\{1, 2, 3, \ldots, n\}$ to itself.

  • A
    $n!$
  • B
    $n^n$
  • C
    $2^n$
  • D
    $n$

Explore More

Similar Questions

The function $f(x) = \sqrt{3} \sin 2x - \cos 2x + 4$ is one-one in the interval

If $f: N \times N \rightarrow N$ defined by $f(m, n) = mn$,then $f$ is . . . . . . .

Let $A = \{1, 2, 3, \ldots, n\}$ and $B = \{a, b\}$. If the number of onto functions from $A$ to $B$ is $62$,then the number of subsets of $A$ containing exactly three elements is:

The function $f(x) = \sin (\log (x + \sqrt {x^2 + 1}))$ is

If $f(x) = \begin{cases} x, & x \in \mathbb{Q} \\ 0, & x \notin \mathbb{Q} \end{cases}$ and $g(x) = \begin{cases} x, & x \in \mathbb{Q} \\ 0, & x \notin \mathbb{Q} \end{cases}$,then the function $(f - g)$ is:

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo