Complex Prime Number Test
|
11-13-2014, 01:23 PM
Post: #4
|
|||
|
|||
RE: Complex Prime Number Test
(11-12-2014 05:31 PM)Thomas Klemm Wrote:(11-12-2014 04:41 PM)Jim Horn Wrote: I am puzzled - your program tests for 3mod4 of the non-zero component if the other is zero, but doesn't test the non-zero component for primality. So, for example, 0+/- 15i isn't a Gaussian prime as 15 isn't prime. Am I mistaken? Thomas, Thanks for pointing out the glaring omission - much appreciated. The edited algorithm should be correct now. Eddie |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Complex Prime Number Test - Eddie W. Shore - 11-11-2014, 06:09 PM
RE: Complex Prime Number Test - Jim Horn - 11-12-2014, 04:41 PM
RE: Complex Prime Number Test - Thomas Klemm - 11-12-2014, 05:31 PM
RE: Complex Prime Number Test - Eddie W. Shore - 11-13-2014 01:23 PM
|
User(s) browsing this thread: 1 Guest(s)