home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky sci.math:12852 sci.math.num-analysis:2946
- Path: sparky!uunet!ogicse!orstcs!orstcs!usenetusenet
- From: herberj@prism.CS.ORST.EDU (John Wesley Herberg)
- Newsgroups: sci.math,sci.math.num-analysis
- Subject: Next Highest Prime?
- Message-ID: <1992Oct07.162645.23773@CS.ORST.EDU>
- Date: 7 Oct 92 16:26:45 GMT
- Article-I.D.: CS.1992Oct07.162645.23773
- Sender: usenet@CS.ORST.EDU
- Organization: Oregon State University, Computer Science Dept.
- Lines: 11
- Nntp-Posting-Host: prism.cs.orst.edu
-
- Hope this isn't a FAQ, but does anyone know of a good algorithm to get the
- next largest prime no. based on a given integer - within reason( < 200). The
- only algorithm I know of is the seive of Eratosthenes, but I'd like to find
- something more effecient.
-
- Please send e-mail as I'm not a regular reader of this group.
-
- Thanks,
- --
- -----------------------------------------------------------------------
- John W. Herberg Internet: herberj@prism.cs.orst.edu
-