Răspuns
Explicație pas cu pas:
f(x);(1;2;3;4;5}->{1-7; 4-7;9-7;16-7;25-7}={-6;-3;2;9;18}
a)restrictiile sunt g(x) : {1;2;3;4;5}->{2;9;18} in total 3^5=243 functii
b) restrictiile avand numai imagini pare sunt
h(x) = {1;2;3;4;5}->{-6;2;18} deci tot 3^5=243 functii