Returns the f(i) where f represents the probability mass function for the distribution.
f(i) the P(X=i)
an integer representing the value to be evaluated