Fast Enterprises Interview Question

Pseudocode for a function to check if a number is prime