Let A = {12, 13, 14, 15, 16, 17} and f:A→Z be a function given by
f(x) = highest prime factor of x.
We have,
f(x) = highest prime factor of x.
∴12=3×4
13=13×1
14=7×2
15=5×3
16=2×8
17=17×1
∴ f{(12, 3), (13, 13), (14, 7), (15, 5), (16, 2), (17, 17)}
∴ Range (f) = {3, 13, 7, 5, 2, 17}