Deloitte Interview Question

Determine if number is prime