Try all odd numbers to test n for primality.
Running Time , but (exponential).
This works well only for small n.