Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site water.UUCP Path: utzoo!watmath!water!bahilchie From: bahilchie@water.UUCP (Brian Hilchie) Newsgroups: net.micro.cbm Subject: Re: Seive of Erasthones Correction Message-ID: <98@water.UUCP> Date: Fri, 2-Nov-84 10:52:42 EST Article-I.D.: water.98 Posted: Fri Nov 2 10:52:42 1984 Date-Received: Sat, 3-Nov-84 02:01:36 EST References: <4017@tektronix.UUCP> Organization: U of Waterloo, Ontario Lines: 18 I hate to be disagreeable, but the sieve program I posted earlier is correct. If you look at the program you'll see that it is impossible for 'prime' to be even. Perhaps you typed in the program incorrectly, or the output was taken from the wrong place. To get the correct output insert printf ("%d\n", prime); after the line prime = i + i + 3; Brian Hilchie {decvax|utzoo|ihnp4|allegra|clyde}!watmath!water!bahilchie