home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c:19110 comp.lang.pascal:7784
- Newsgroups: comp.lang.c,comp.lang.pascal
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!csus.edu!netcom.com!jhesse
- From: jhesse@netcom.com (John Hesse)
- Subject: Re: Hash Coding Revisited -- need prime number generator
- Message-ID: <1993Jan1.042852.26677@netcom.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- References: <1992Dec23.045823.3085@spartan.ac.BrockU.CA>
- Date: Fri, 1 Jan 1993 04:28:52 GMT
- Lines: 17
-
- I'm implementing a hashing algorithm and need a prime-number algorithm.
-
- (At this time the size isn't known, so that's why I need the algorithm.)
-
- C code, or even BASIC, would be extremely helpful. BTW, I need a 6-digit
- prime, if that makes a difference. Thanks a million (not a prime :).
-
- Also, I could not find an "algorithms" topic, so that is why I put it
- here. Hope no one is upset.
-
- Happy New Year!!!! :-)
- --
- ----------------------------+---------------+-------------------------
- J Hesse | END | California
- jhesse@netcom.com | 50 MPH | traffic
- Moss Beach, Calif | SPEED LIMIT | sign
- ----------------------------+---------------+-------------------------
-