Manuals/calci/LISTPRIMES
LISTPRIMES(max,min,i)
where
max,min and i are any real numbers
LISTPRIMES function returns prime numbers in the given range .It returns the ith prime number in the given range if i is given.
LISTPRIMES returns NaN if any of max,min or i are not real numbers.
LISTPRIMES
Lets see an example in (Column2Row1)
=LISTPRIMES(Column1Row1,Column1Row2)
Returns 2,3,5,7 for LISTPRIMES(10,2)
Consider another example in (Column2Row4)
=LISTPRIMES(Column1Row4,Column1Row5,Column1Row6)
Returns 3 for LISTPRIMES(10,2,2)
Syntax
Remarks
Examples
Description
Column1 | Column2 | Column3 | Column4 | |
Row1 | 10 | 2,3,5,7 | ||
Row2 | 2 | |||
Row3 | ||||
Row4 | 10 | 3 | ||
Row5 | 2 | |||
Row6 | 2 |
File:Calci1.gif | $ |