is this a function

input
2

4

3

output

20

30

40

No, this is not a function. In a function, each input value should correspond to exactly one output value. If the same input value has multiple possible output values, it is not considered a function.