>>31795418Chance for perfect Attack = 1/16
Chance for perfect Defense = 1/16
Chance for perfect HP = 1/16
1/(16*16*16) = 1/4096
For eggs it's 1/(6^3) = 1/216 chance
>The shiny formula can result in a number from 0 to 65535. If the result is less than 8, then the Pokémon is Shiny. This gives an overall probability of 8/65536 or 1/8192, exactly the same as in Generation II.>While the basic formula is still identical to Generation III and all games since then, the value the formula returns now only has to be less than 16 to result in a Shiny, rather than less than 8. This results in a probability of 16/65536 or 1/4096.