Difference between revisions of "Manuals/calci/ISPRIME"
Jump to navigation
Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''ISPRIME'''(SomeNumber) where '''SomeNumber '''is any real number. </div> ---- <div id="1SpaceContent"...") |
|||
Line 1: | Line 1: | ||
− | <div | + | <div style="font-size:30px">'''ISPRIME(n)'''</div><br/> |
+ | *<math>n</math> is the number | ||
− | + | ==Description== | |
+ | *This function is one of the group in ISFUNCTIONS. | ||
+ | *The IS FUNCTION is also known as data information functions, data inspection functions or data-testing functions. | ||
+ | *ISPRIME function is used to test the given number is prime or not. | ||
+ | *This function gives the result as TRUE when the given value is prime otherwise this function gives th result as FALSE. | ||
+ | *A prime number is a natural number, it can be divided, without a remainder, only by itself and by 1. | ||
+ | *For e.g. The number 11 is a prime, because 11 is divided by 1 and 11 without any remainder. | ||
+ | *But 6 is not prime, because 6 can be divided by 1,2,3 and 6. | ||
+ | *Also the number 0 and 1 are neither prime nor composite. | ||
− | + | ==Examples== | |
+ | #ISPRIME(2)=TRUE | ||
+ | #ISPRIME(7)=TRUE | ||
+ | #ISPRIME(105)=FALSE | ||
+ | #ISPRIME(1)=TRUE | ||
+ | #ISPRIME(-2)=FALSE | ||
+ | #ISPRIME(0)=FALSE | ||
− | + | ==See Also== | |
+ | *[[Manuals/calci/ISNUMBER | ISNUMBER ]] | ||
+ | *[[Manuals/calci/ISODD | ISODD ]] | ||
+ | *[[Manuals/calci/ISEVEN | ISEVEN ]] | ||
− | + | ==References== | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 01:16, 23 December 2013
ISPRIME(n)
- is the number
Description
- This function is one of the group in ISFUNCTIONS.
- The IS FUNCTION is also known as data information functions, data inspection functions or data-testing functions.
- ISPRIME function is used to test the given number is prime or not.
- This function gives the result as TRUE when the given value is prime otherwise this function gives th result as FALSE.
- A prime number is a natural number, it can be divided, without a remainder, only by itself and by 1.
- For e.g. The number 11 is a prime, because 11 is divided by 1 and 11 without any remainder.
- But 6 is not prime, because 6 can be divided by 1,2,3 and 6.
- Also the number 0 and 1 are neither prime nor composite.
Examples
- ISPRIME(2)=TRUE
- ISPRIME(7)=TRUE
- ISPRIME(105)=FALSE
- ISPRIME(1)=TRUE
- ISPRIME(-2)=FALSE
- ISPRIME(0)=FALSE