Currently taking a class on computability theory and started learning about primitive recursive functions. The constant function described as follows:
$C^n_a(x_1,...,x_n) = a$
First of all, why do we have a function of this sort to begin with? Can't we just refer to the constant itself as it is? Also why is $x_1, ..., x_n$ passed to it if they're not used?
If you don't have constant functions, none of the other rules will let you build them. They are all ways of combining previously defined functions or returning one of the arguments to the function. The constant functions are how you refer to constants.
Sometimes functions just don't use some (or any) of their arguments.