Depends on what you mean by viable.
If you mean a self-sustaining population, then the general Rule-of-Thumb would be 250 pairs. Of course, that would presume that all animals were breeding - which we know does not always happen, for a variety of reasons. So many conservation geneticists suggest 500 pairs.
Note that these numbers are for a self-sustaining population to survive ad infinitum. If you want a population to survive for less time, then you don't need as many animals.
Hix
Hi Hix. l had heard of this. Obviously gorillas are not into "pairs". Interesting if this was to be correct. Ignoring the pair concept. We do-not have enough gorillas to have a ongoing geneticly diverse pool.