Suppose that ⋆(n)={n−2,n+2,2n,n2}. For example, ⋆(6)={3,4,8,12}. FOr how many distinct integers n does ⋆(n)have exactly three distinct elements?
There are exactly 3 values of n:
n = 0, n = 2, and n = -2.