A sock drawer has socks of exactly two types: comfortable socks, and non-comfortable socks. When choosing socks, one picks two socks at random (uniformly) from the drawer.
If and , the probability of choosing two comfortable socks is exactly . Assuming the sock drawer is magical and can contain and , we also get the probability of .
Your goal: find such that the probability for two comfortable socks is exactly , and such that this is the minimal solution with having at least 100 digits (minimal with respect to the size of ).
A bonus "*" will be given for finding the minimal D such that there are exactly 16 pairs giving the probability with having less than 100 digits.