Manuals/calci/LISTPRIMES

From ZCubes Wiki
Revision as of 21:39, 24 October 2013 by MassBot1 (talk | contribs) (Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''LISTPRIMES'''(max,min,i) where '''max''','''min''' and''' i '''are any real numbers </div> ---- <div id...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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