Google's "Bachelor of Science" interview screening process? I'd assume that they would have an interview that would be appropriate to the degree they obtained. I'd also be surprised if Fermat's last theorem would be involved in any way - that's more of a math problem, and isn't relevant to the work of most software engineers.