I've been trying to figure out the probabilities of rolling a specific number in a pool of 4 20-sided dice, assuming I discard the highest and two lowest rolls. My instinct was to compound the probabilities of two dice being lower or equal to a target n, one being higher or equal, and one being the specific roll I want, like so $P(n) = \frac{(n^2)(21-n)}{20^4}$.
However, I noticed that the sum of the probabilities for each numbers was only ~10% instead of a flat 1. My first instinct was that this was the probability of a specific dice being the second highest, so not all outcomes were accounted for, but factoring in permutations brought me to ~242%. Still not close. Is this a case where the sum of the individual probabilities doesn't need to equal 1, or is my math wrong and where?.