Computes the probability mass function at j using a recursive (iterative) algorithm using logarithms
the PMF value
the value to evaluate
the mean