So i have been recently introduced to computability and recursion. And we are doing everything very formally. That is why when forming a primitive recursion we need g,h to be computable and then f is when $f(x_1,x_2...x_n,0)=g(x_1,x_2...x_n)$ and $f(x_1,x_2...x_n,y+1)=h(x_1,x_2...x_n,f(x_1,x_2...x_n,y))$. Where arity is important so f has n+1 arity, g has n arity and h has n+1 arity. Now i was tasked with showing factorial is computable. It is obvious that (we will call factorial n) $n(0)=1$ (we know 1 is primitive and can have any arity, even 0?). Now $n(y+1)=S(y)*n(y)$ but clearly multiplication is of arity 2 so i have an arity problem. How do i remedy it?
Thank you