Help me run the numbers on a perfect IV ditto

So I am currently playing Pokémon Sun version and am attempting to collect a ditto with perfect IVs. I’m using the SOS battle method with an Alola raticate that knows hidden power. It has only one resistance which is dark type because I know a hidden power from a Pokémon with perfect IVs is a dark move. So I’m calling any ditto using a hidden power (dark) a pseudo perfect ditto. Only after I check it in the computer do I know if it’s truly perfect.
So my question is this. Given that every ditto caught is guaranteed to have at least 4 perfect IVs and guaranteed to have a dark type hidden power, what is the possibility space? How many pseudoperfect ditto can I expect on average to catch in order to find a true perfect ditto?
Pictures about "Help me run the numbers on a perfect IV ditto"



How do you get Ditto with perfect IVs?
In Max Raids This out-of-the-way den has a secret. The Rare Dens have a 100% chance of having a Ditto. Furthermore, all Raid based Pok\xe9mon have a chance at max IVs. Making it perfect for breeding!What are the odds of a perfect IV Ditto?
Catching Pok\xe9mon with good IVs The harder it is, the more perfect IVs it will have. Even better, you can grab a Ditto from a harder raid to get a three or four IV one. From there, you can just breed whatever perfect IV Pok\xe9mon you want.How to Catch a PERFECT Ditto - MAX IVs! - in Pokemon Sun and Moon! | Austin John Plays
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Julia Larson, Julia Larson, Julia Larson, Julia Larson