Nirmion
Довідка Знайдіть інструмент

FUNCTIONS / EVERY OUTPUT USED

Surjective Function Count Calculator

Count onto functions from n labelled domain elements to k labelled codomain elements.

  • 01 Calculated in this tab
  • 02 Values stay in this browser tab
  • 03 Use boundary

Conversion input

Known value

Filter by unit name, symbol, or code. Your current selections remain available.

Preparing the calculator...

METHOD / WORKED EXAMPLE

Audit the Surjective Function Count result step by step

Count onto functions from n labelled domain elements to k labelled codomain elements. The result panel keeps the defining recurrence or counting identity visible so the output can be checked independently.

WORKED DEFAULT

Check the calculation with the default inputs

For five labelled inputs and three labelled outputs, inclusion-exclusion gives 150 onto functions.

  1. Count allk^n
  2. Exclude missing outputsinclusion-exclusion
  3. Return150

READ THE RESULT

Interpret the output in context

Labelling the output blocks distinguishes surjections from ordinary set partitions into k unlabeled blocks.

ASSUMPTIONS AND LIMITS

Know where the model stops

  • Domain and codomain elements are distinct and labelled.
  • Every domain element maps to exactly one codomain element.

This counts functions only and does not generate mappings or probabilities.

COMMON QUESTIONS

Surjective Function Count Calculator FAQs

What definition does Surjective Function Count Calculator use?

Count all k^n labelled functions, then use inclusion-exclusion over codomain values omitted from the image. The indexing, equivalence relation, and counted objects are stated in the method and worked example. Inputs must be whole numbers inside the displayed domain; the page never rounds a decimal into an accepted index. This ties the answer to one explicit convention instead of silently mixing sequence offsets or combinatorial interpretations.

How can I verify the Surjective Function Count output?

Labelling the output blocks distinguishes surjections from ordinary set partitions into k unlabeled blocks. Small boundary cases and the displayed recurrence or identity provide useful independent checks. Recompute the displayed recurrence or closed form with the same inputs and compare its previous terms or counting factors. That check supports this bounded result, but it does not transfer the interpretation to a different sequence or counting object.

Why is the Surjective Function Count input bounded?

This counts functions only and does not generate mappings or probabilities. The implementation uses integer arithmetic internally and refuses results beyond the safe display boundary. Combinatorial and recurrence values can grow rapidly even when the inputs look small. The conservative cap prevents browser stalls and avoids presenting an unsafe floating-point integer as exact; larger work needs arbitrary-precision software and independent resource controls.

Use boundary

Calculation path

Count all k^n labelled functions, then use inclusion-exclusion over codomain values omitted from the image.

Calculation path

sum_i (-1)^i C(k,i)(k-i)^n.