Application of Newton's Identities to a Generalized Birthday Problem and to the Poisson Binomial Distribution