Got Excel skills? Let's see.
Hoping that this one is a little more doable
Here are the usual rules.
Assume that cell A1 contains a positive integer value. Create a single formula to determine whether or not the value in A1 is prime. The output should be either TRUE or FALSE. For example
A1
2 --> TRUE
16 --> FALSE
17 --> TRUE
120 --> FALSE
1024 --> FALSE
472882049 --> TRUE
982451652 --> FALSE
982451653 --> TRUE
982451654 --> FALSE
Hoping that this one is a little more doable
Here are the usual rules.
- Create a single Excel formula to solve the stated problem.
- The shortest formula wins (when calculating the length of the formula there's no need to include the leading "=", or the curly braces that Excel uses to represent array formulae).
- The formula's number format can be set to whatever you want.
- Conditional formatting is not allowed.
Assume that cell A1 contains a positive integer value. Create a single formula to determine whether or not the value in A1 is prime. The output should be either TRUE or FALSE. For example
A1
2 --> TRUE
16 --> FALSE
17 --> TRUE
120 --> FALSE
1024 --> FALSE
472882049 --> TRUE
982451652 --> FALSE
982451653 --> TRUE
982451654 --> FALSE