Difference between revisions of "Manuals/calci/PRIMES"
Jump to navigation
Jump to search
(Created page with "primes") |
|||
Line 1: | Line 1: | ||
− | + | <div style="font-size:30px">'''PRIMES (Upto,StartFrom)'''</div><br/> | |
+ | *<math> Upto</math> and <math>StartFrom</math> are any real numbers. | ||
+ | |||
+ | ==Description== | ||
+ | *This function shows Prime numbers with in given limit of the numbers. | ||
+ | *A Prime number can be divide only by 1 or itself also the number must be a whole number which is greater than 1. | ||
+ | *In <math>PRIMES(Upto,StartFrom)</math>,<math>Upto</math> is the maximum number limit and <math>StartFrom</math> is the starting number of prime numbers to display. | ||
+ | *So When a number has more than two factors it is called a composite number. | ||
+ | *Other than the Composite numbers are called Prime numbers. | ||
+ | *This function will return as Nan when the given parameters are in negative numbers. | ||
+ | |||
+ | ==Examples== | ||
+ | #PRIMES(80,60) = 61 67 71 73 79 | ||
+ | #PRIMES(200,120) = 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199 | ||
+ | #PRIMES(40.2,18.5) = 19 23 29 31 37 | ||
+ | |||
+ | ==See Alos== | ||
+ | *[[Manuals/calci/PRIMEFACTORS | PRIMEFACTORS ]] | ||
+ | *[[Manuals/calci/ISPRIME | ISPRIME]] | ||
+ | |||
+ | ==References== | ||
+ | *[https://en.wikipedia.org/wiki/Prime_factor Prime Factor] | ||
+ | *[[Z_API_Functions | List of Main Z Functions]] | ||
+ | *[[ Z3 | Z3 home ]] |
Revision as of 13:24, 19 April 2017
PRIMES (Upto,StartFrom)
- and are any real numbers.
Description
- This function shows Prime numbers with in given limit of the numbers.
- A Prime number can be divide only by 1 or itself also the number must be a whole number which is greater than 1.
- In , is the maximum number limit and is the starting number of prime numbers to display.
- So When a number has more than two factors it is called a composite number.
- Other than the Composite numbers are called Prime numbers.
- This function will return as Nan when the given parameters are in negative numbers.
Examples
- PRIMES(80,60) = 61 67 71 73 79
- PRIMES(200,120) = 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199
- PRIMES(40.2,18.5) = 19 23 29 31 37