Needle in the haystack principle for math